Re: XCode 1.5 not showing source listing in debugger
Re: XCode 1.5 not showing source listing in debugger
- Subject: Re: XCode 1.5 not showing source listing in debugger
- From: Jim Ingham <email@hidden>
- Date: Wed, 11 Aug 2004 12:54:34 -0700
Brad,
Often this happens because some files end up getting built without
debug information. So first thing is to check that.
One really quick way is to find your binary (e.g. for an App the binary
is the file with the same name as the app in Contents/MacOS in your App
Wrapper) and do:
nm -ap <Your Binary> | grep "SO " > /tmp/source-stabs.txt
then look in source-stabs.txt for the filename that isn't getting found
in the source display. If you see a record with the filename in
question, then you know that there is debug info for that file. Then
we can try to figure out why the debugger isn't finding it.
If there isn't then somehow that file got built without debug info, and
we can try to figure out how that might have happened...
Jim
On Aug 11, 2004, at 11:20 AM, Brad Oliver wrote:
I've got a rather unusual issue with XCode 1.5, and it's driving me
absolutely batty. In many cases, XCode is not displaying the source
for my app when running through the debugger. This is a C++ app, if
that makes any difference. I've installed XCode on a brand-new G5 that
didn't previously have the developer tools installed, running 10.3.4.
At one point, I trashed the "build" directory, did a Clean All and
then rebuilt the app and got a source display for one of the
troublesome files in question. But since then, I have not had any luck
getting the source to show up again in the debugger. For 50% of the
routines I stop in, I'm looking at just the PPC display.
The routines are, as I mentioned before, C++ methods and none of them
are inlined. I'm starting to wonder if perhaps it's a name-mangling
issue and XCode is having trouble associating the name with the proper
source.
If there's any more information I can provide, let me know. I'd love
to resolve this, as it's making debugging in XCode for this project
virtually useless right now.
--
Brad Oliver
email@hidden
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.