Re: Debugger Balking
Re: Debugger Balking
- Subject: Re: Debugger Balking
- From: Jim Ingham <email@hidden>
- Date: Wed, 18 Jan 2006 13:20:48 -0800
When your debugging session is in this state, can you sample the gdb-
powerpc-apple-darwin process, the Xcode process and your app (using
either the Sampler app, or the "sample" command-line tool), and file
a bug with those samples. Also if you could include the Xcode-gdb
log, which you get by doing:
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) Attach /tmp/IncludeInBug.log to the Radar.
That would help us figure out what's going on.
Jim
On Jan 18, 2006, at 6:48 AM, Nick Nallick wrote:
I'm trying to step through my code line by line in the debugger,
occasionally stepping into a function. I've come to a place in my
code where the debugger refuses to continue. When I try to step
into or over a particular function the status bar says "GDB Stopped
after step", my app starts consuming 100% of the CPU (on a DP
system), and the debugger just refuses to go any further. The
various step and continue buttons can be clicked but don't appear
to do anything. The console shows a (gdb) prompt but when I enter
a command (e.g., print) nothing happens. The only thing I can do
is terminate my app. If I try again and set a breakpoint a few
lines further down I break at that point but then get the same
behavior.
I've tried tossing the build folder and rebuilding my project and
rebooting my system. I'm running Xcode 2.2.1 on PPC. Can anybody
suggest something else to try?
FWIW, before this started I had a couple odd errors. When building
my project Xcode reported two erroneous compiler errors in a C++
class declaration that hasn't changed in ages (something like
"empty declaration"). I quit Xcode, relaunched it and built the
project again. This time it rebuilt about 40 files and seemed to
work correctly until this debugger issue showed up a few minutes
later. That's when I threw away the entire build folder and
rebuilt the project.
Thanks,
Nick
_______________________________________________
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
_______________________________________________
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