Re: Xcode won't debug!
Re: Xcode won't debug!
- Subject: Re: Xcode won't debug!
- From: Jim Ingham <email@hidden>
- Date: Fri, 6 Aug 2004 13:31:53 -0700
Jamie,
I am guessing from the fact that you mention NSLogging that this is a
C/C++ based application of some sort. If it is then the easiest way
for us to tell what is going on is to see the log of communication
between Xcode and the underlying debugger (gdb). To get that,
1) Quit Xcode.
2) In Terminal, say:
$ defaults write com.apple.Xcode PBXGDBDebuggerLogToFile YES
$ defaults write com.apple.Xcode PBXGDBDebuggerLogFileName
/tmp/IncludeInBug.log
3) Restart Xcode, and do whatever you need to to make it fail.
4) Then look in /tmp/IncludeInBug.log - that contains the transcript of
the gdb/Xcode communications.
These can be long, so don't send it out to the whole list. Just send
it to me, or better yet, file a Radar with the Bug Reporter, and attach
the log to the bug.
That will tell us how far gdb got in launching your program, and if
there were any errors, where they were. If there is no such file, then
Xcode didn't even try to start up the debugger.
If that is the case, make sure that target is actually trying to use
gdb as the debugger. In 1.5 this is set in the inspector for the
Executable you are running, under the Debugging Tab. Make sure it is
set to using gdb as the debugger.
Thanks,
Jim
On Aug 6, 2004, at 11:04 AM, Jamie wrote:
Hi there.
This is my first post to this list so hello all. I have a little (or
large) problem with Xcode that I can't sort out and I don't know
where to start looking.
Basically I have been working on a project for sometime and it has
suddenly stopped letting me use the debugger. This has been the case
for some days now, but now it is really starting to annoy me. It
goes through the motions of putting the debugger on the screen and it
doesn't log to the log window, but it doesn't actually debug
anything! I have no idea where to look to solve this. Is this just
some sort of corruption in the project file?
I have had the same thing happen to me on an AppleScript studio
project I worked on and it is extremely annoying. I have had to
revert to NSLogging all over the shop in this case simply to tell
what is going on in my code. FYI - This is the case on Xcode 1.2 and
1.5.
Any ideas greatly appreciated.
Jamie
_______________________________________________
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.