Re: Debugger hangs?
Re: Debugger hangs?
- Subject: Re: Debugger hangs?
- From: Han Ming Ong <email@hidden>
- Date: Wed, 28 Jul 2010 10:25:38 -0700
Hi there,
Because gdb is making calls into the target, there is a small chance that it could cause a deadlock in the Objective-C runtime. gdb is usually pretty good in co-operating with the runtime to make sure that this doesn't happen often. Turning off the data formatters will decrease the number of times gdb calls into the target, at the expense of not being able to see good summaries in the Variables view.
But I can't say for sure that this is what is happening without the gdb log. Hence, please turn on the gdb log, say /tmp/gdb.log, in your Xcode preferences and attach the log to the bug that you will file at bugreport.apple.com. We'll analyze it.
thanks, Han Ming
On Jul 27, 2010, at 11:34 PM, sebi wrote:
> Hello,
>
> every few times I want to step through my code with Xcode's debugger it eventually refuses to work. I click on the "Step Over" button and then nothing happens. The variable window becomes empty and the three step buttons become greyed out. The "Pause" button reacts on clicks but doesn't do anything. Stop and restart still work. The Debugger Console doesn't show any output. It's really annoying when I'm hunting a bug several functions deep and then I have to start all over again because the debugger just stops working. All I can do is to set the breakpoint a bit later, try again and hope for the best.
> Does anyone else experience this behavior? Is there anything I can do?
> Im Using the iPhone SDK 4 final with Xcode 3.2.3. This happens when I debug iPad apps with the simulator. Since this is the only thing I do right now I don't know if it occurs otherwise.
>
> I also posted this to the Cocoa-Dev list and someone suggested to try it here and that it might be helpful to disable the data formatters which unfortunately only made it happen less often.
>
> Thanks and regards,
> Sebastian Mecklenburg _______________________________________________
> 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