Re: No source visible in debugger
- From: Ron L <ron.liechty@xxxxxxxxxxxxx>
- Date: Mon, 26 Sep 2005 17:29:18 -0400
In article <2005092610064716807%danny@metadmacom>,
Danny at META/DMA <danny@xxxxxxxxxxx> wrote:
I don't think 9.6 changed anything with debugging. It seems to be
something on your end. Make sure you aren't following some old file.
(that is make sure the file you are debugging is the only one and there
isn't an older version in the trash or somewhere). Also be sure that
optimizations are not on in your plugin.
Ron
>I've been running into the exact same problem with debugging an Adobe
>After Effects plugin -- that is, I can only see disassembly rather than
>source code in the debugging window. I'm almost positive that this is a
>CW 9.6 problem. It worked fine in 9.5, and I haven't touched my project
>until after updating to 9.6, when I could no longer debug. It's a very
>small project, so I don't think I've hit any kind of header limit.
>Unfortunately, none of the tricks listed below help at all. My only
>solution seems to be to revert to CW 9.5 (or XCode), unless anyone has
>any other ideas. Anyone?
>
>Thanks,
>
>Danny Rosenberg
>META/DMA
>
>On 2005-08-09 11:40:56 -0700, "George Touchstone"
><GroupPosts@xxxxxxxxxxxxx> said:
>
>> After a further email exchange with mwRon and trying a few more things,
>> I've come up with the following observations and a restatement of Ron's
>> suggestions.
>>
>> MW says no-one at Adobe is complaining about this, but I have heard
>> from at least one other InDesign plugin developer reporting the same
>> problem and asking if I have further insight. That query prompted this
>> update to this NewsGroup thread.
>>
>> I believe the c++ headers in the InDesign SDK create massive numbers of
>> symbols which in turn exceeds what MW thought was at the time a
>> reasonable limit. Which is in a way an object lesson to all of us about
>> making assumptions about "reasonable limits" in our code.
>>
>> I am able to debug the sample plugins provided by Adobe in the SDK, and
>> I'm able to debug the smaller modules in my own project. However, in
>> some cases I've combined code from several sample plugins. This results
>> in more header includes that are typically found in the sample plugins.
>> It is these modules that appear only in assemply language in the
>> debugger.
>>
>> I'm hoping CW10 addresses this.
>>
>> How to deal with it for now:
>> You have to very selectively enable debugging on a few modules.
>> You have to minimize how many headers you include.
>> Then you have to "reset" the debugger from time to time when it goes
>> over the limit.
>>
>> How to "reset" the IDE/Debugger:
>>
>> In Project settings, under Linker, be sure "Generate Sym File" is on
>>
>> Be sure that the debug column is set for the files you want to debug
>>
>> In IDE Preferences, Debugger, Global Settings:
>> Purge the debugger cache
>>
>> Remove object code
>> Trash the sym file
>> Empty the trash
>>
>> If that doesn't work, something more dramatic:
>> Go to
>> <YourOSXBootVol>/Users/<YourUserName>/Library/Preferences/Metrowerks,
>> Delete "CW IDE 5.5 Prefs" (actual version may be newer)
>> Delete "CW Debugging Cache"
>>
>> Good luck, and thanks again to Ron for his help,
>>
>> George Touchstone
>> Sacramento Software Works
>> www.SacraSoft.com
>> George at SacraSoft dot com
>
>
--
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 - ron.liechty@xxxxxxxxxxxxx - http://www.codewarrior.com
.
- Follow-Ups:
- Re: No source visible in debugger
- From: Danny Rosenberg
- Re: No source visible in debugger
- References:
- Re: No source visible in debugger
- From: Danny at META/DMA
- Re: No source visible in debugger
- Prev by Date: Re: resource copying failure and link warning
- Next by Date: Re: Order files in folder alphabetically in project window?
- Previous by thread: Re: No source visible in debugger
- Next by thread: Re: No source visible in debugger
- Index(es):
Relevant Pages
|