Re: Debugger hangs?
Re: Debugger hangs?
- Subject: Re: Debugger hangs?
- From: Tony Romano <email@hidden>
- Date: Wed, 21 Jul 2010 14:22:26 -0700
There is an issue the XCode front end has accessing variables for display. The formatters are used not only for the variable window but also others areas such as tool-tips. I filed a bug against this a few weeks ago(Bug# 8128556)
To me the wrong approach is to turn off the formatters, this makes the tool less useful. File a bug against the issue so Apple fixes it. Make sure you submit a debugger trace log.
Here are the steps incase you don't remember.
1. Goto Preferences/Debug.
2. Check GDB Log and give it meaningful name and location(~/desktop/trace.log)
3. Load your project, get it to access violate. Submit that log with a bug.
HTH,
-Tony
On Jul 21, 2010, at 1:12 PM, Charlie Dickman wrote:
> I have turned the data formatters off and the debugger continues to get EXC_BAD_ACCESS while stepping through code. It then "times out fetching data" and everything is hosed.
>
> On Jul 21, 2010, at 12:03 PM, Nick Zitzmann wrote:
>
>>
>> On Jul 21, 2010, at 4:43 AM, sebi wrote:
>>
>>> 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?
>>
>> 1. This is a list for Cocoa, not Xcode. Next time, please ask Xcode questions on the Xcode list.
>>
>> 2. That said, this is almost always caused by data formatters. If you turn them off in the Debug menu, the problem should go away.
>>
>> Nick Zitzmann
>> <http://www.chronosnet.com/>
>>
>> _______________________________________________
>>
>> Cocoa-dev mailing list (email@hidden)
>>
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
> Charlie Dickman
> email@hidden
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
-Tony
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden