Re: Weird XCode-only debug problem
Re: Weird XCode-only debug problem
- Subject: Re: Weird XCode-only debug problem
- From: Chris Friesen <email@hidden>
- Date: Wed, 19 May 2004 15:56:52 -0700
On May 18, 2004, at 4:33 PM, Tom Harrington wrote:
> I'm working on some code I'd like to step through in a debugger.
>
> If I do this in XCode, there's a particular point where stepping over
> lines blocks for abnormally long times, and where I get messages in
> the debugger console reading "Timed out fetching data. Variable
> display may be inaccurate."
The data formatters are taking a long time to be executed and this is
blocking any other debugger functions until they timeout. You can set a
breakpoint past the offending code and continue to there instead of
stepping. I'd file a bug with a code excerpt. You can try unchecking
the menu Debug->Custom Data Formatters and re-start the debugger to see
if that makes a difference.
>
> Anyone have any idea what's going on, and what to do about it? The
> fact that command-line GDB steps through the code normally leads me to
> think it's XCode, but it's weird enough that I really don't know what
> to think.
>
> This is with XCode 1.2 on Mac OS X 10.3.3.
>
If you are still having problems you can totally disable the custom
data formatters by quitting Xcode then moving the debugging library
aside then run Xcode again. From Terminal do the following as an admin
user:
mv
/Developer/Applications/Xcode.app/Contents/PlugIns/
GDBMIDebugging.xcplugin/Contents/Resources/
PBGDBIntrospectionSupport.A.dylib
/Developer/Applications/Xcode.app/Contents/PlugIns/
GDBMIDebugging.xcplugin/Contents/Resources/
PBGDBIntrospectionSupport.A.dylib.backup
-ChrisF
_______________________________________________
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.