Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / July 2005



Tip: Looking for answers? Try searching our database.

iSYM file corruption (reprise)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve - 26 Jul 2005 19:03 GMT
Hi,

BTW, before we start I know this is a bug with the x86 compiler and
Metrowerks don't support it anymore, but I thought I'd post this just for
information really. You never know, it might help someone....

Back in February I started a thread about our iSYM files becoming corrupted
and failing to load for debugging.

<http://groups.google.co.uk/group/comp.sys.mac.programmer.codewarrior/browse
_frm/thread/8e318cd0f09f0b59/631aac406c5a436b?lnk=st&q=isym+file+steve+folly
&rnum=1&hl=en#631aac406c5a436b>

Back then it was CW 9.3, OS X 10.3.7, x86 compiler, and we were getting the
error "Warning - this SYM file has some invalid or inconsistent data. the
debugger may show incorrect information"

Well, now its CW 9.5, OS X 10.4.2 (still the x86 compiler!), and the
situation hasn't changed.  It been really painful debugging to say the least
- toggling the 'generate symbols' on and off until we get something that
builds!  Until now...

The other day I started to investigate splitting our application into DLLs.
The first step was to get the application using the shared runtime library.

So I went through and changed all the projects used in the app to use the
Shared multi-threaded debug runtime configuration, added the stub .lib to
the main project.

So now the application is using MSL_All-DLL90_x86_D.dll and, to my utter
surprise I'm no longer getting any corrupted iSYM file problems. It's now
grown to 17.1MB and CodeWarrior doesn't even flinch.

Anyone care to explain? :-)

Still, I'm happy(ier) now, and so are the rest of the developers!

Signature

Regards,
Steve

"What if the Hokey Cokey really IS what it's all about?"

MW Ron - 26 Jul 2005 20:36 GMT
>Hi,
>
[quoted text clipped - 32 lines]
>
>Still, I'm happy(ier) now, and so are the rest of the developers!

Yes you were breaking the maximum symbols and that was the problem.  
DLL's use a different TOC so you don't have all of those.

Ron

Signature

CodeWarrior Community Forum is a free online resource for developers
to discuss CodeWarrior topics with other users and our staff
       --   http://www.codewarrior.com/community  --

Ron Liechty - MWRon@metrowerks.com - http://www.codewarrior.com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.