Re: XCode debugger locking up
Re: XCode debugger locking up
- Subject: Re: XCode debugger locking up
- From: Chris Friesen <email@hidden>
- Date: Wed, 2 Mar 2005 13:18:33 -0800
On Mar 2, 2005, at 10:44 AM, Nick Nallick wrote:
I've been trying to use the 1.5 debugger on 10.3.8 to learn the code by setting break points, crawling the stack and stepping through the code. This has been extremely painful. I've been having similar problems to those detailed above almost constantly. The only real difference is that mine only spends a minute or two with the spinning cursor, but when it comes back about the only thing I can do is terminate the app I'm debugging. For me the debugger is virtually useless.
Try setting the timeout to zero as I mentioned in my other reply to this thread. If that still doesn't work for you turn on Xcode-GDB logging and include it in the bug report.
Do the following in terminal then run Xcode and attach the log:
defaults write com.apple.Xcode PBXGDBDebuggerLogFileName /tmp/XCGDBLog defaults write com.apple.Xcode PBXGDBDebuggerLogToFile YES Perhaps the problem is related to the lack of available memory. I'm running a PM 2.5 DP with 1GB RAM. I was down to about 1.35 GB free on my boot partition. After getting my free disk space up to about 4 GB the problem has lessened somewhat but not very much. Now I can single step three or four lines after a breakpoint before freezing.
Disk space is only an issue if you don't have enough memory to load all of the debugging symbols and the system starts paging memory to disk. How much memory do you have and how big is the debug version of your application? When you debug does your system run out of physical memory? You can use the command line tool 'top' or '/Developer/Applications/Performance\ Tools/BigTop.app' to monitor memory usage. Does anyone have suggestions about the system memory requirements for debugging large projects?
Enough memory to load all of your debugging symbols is nice....
Cheers, ChrisF
|
_______________________________________________
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