Re: [SOLVED] Debugging ARC app on Snow Leopard
Re: [SOLVED] Debugging ARC app on Snow Leopard
- Subject: Re: [SOLVED] Debugging ARC app on Snow Leopard
- From: Dave Fernandes <email@hidden>
- Date: Mon, 28 Nov 2011 18:49:52 -0500
On 2011-11-28, at 3:50 PM, Sean McBride wrote:
> On Mon, 28 Nov 2011 14:47:44 -0600, Chris Cleeland said:
>
>> If you need to debug using those object files with a different path,
>> debuggers typically offer some sort of path mapping facility. dbx has
>> this on solaris and other OSs, as does gdb. Perhaps the llvm debugger
>> does, too?
>
> With gdb:
>
> set pathname-substitutions /original/path /my/path
Thanks! This did the trick.
(I still feel the urge to file a feature request, though. Xcode certainly has all the information it needs to do this for me.)
On 2011-11-28, at 4:04 PM, Jonas Maebe wrote:
> If you use dSYM bundles, that should not be an issue (then the object files are no longer required for debugging).
I tried changing the target's Debug Information Format to "DWARF with dSYM File". I then get a dSYM bundle created alongside the application bundle. And when I debug on Snow Leopard, the debugger shows my method names in black rather than gray, and it does not complain about being unable to find the object files. However, it still only shows disassembly with no source code until I "set pathname-substitutions" as Sean McBride suggested.
Is there some other project setting I need to change? Presumably the dSYM file contains a symbol map, but not actual source code. So some setting must provide the location of the source code, no? Or is this path hard coded in the dSYM file.
Dave _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden