GDB: Timed out fetching data
GDB: Timed out fetching data
- Subject: GDB: Timed out fetching data
- From: Dalton Hamilton <email@hidden>
- Date: Mon, 6 Nov 2006 09:46:04 +0100
Hello -
I've searched the archive and found that in Nov 2004 another user
reported the problem and did not have a resolution that I could
find. I was using XCode 2.4.0 and for some reason XCode hangs when
I'm stepping through my code in debug mode. The message at the
bottom left of my debugger window displays a message: "GDB: Timed
out fetching data." I've now upgraded to 2.4.1 and still have the
same problem.
When this happens, the debugger is essentially hung, it can't move
forward and just sits there. I don't think this is a system problem
since all other apps work fine. I'm on a MacPro with 2GBytes of memory.
The problem appeared right after I made a lot of changes to one of my
objects. I had made quite a few changes relating to how I obtain
NSStrings. I was using the alloc method now I've moved over to using
convenience methods and using retain where necessary. I had already
made these same changes in two other objects many version back
without issue. However, when I made the changes in this third
object, I forgot to retain an NSString that I received using a
convenience method and needed to find where the code was crashing.
Because of this GDB: Timed out fetching data problem, I had to resort
to putting printf type statements all over my code to find out where
the problem was. The code is working now and the fixed release is
deployed but I have to get this XCode GDB timeout issue fixed or each
time I need to find a bug/fix a problem in my code it will take
forever if I can't step through the code.
Any help will be appreciated.
Thanks
Dalton Hamilton
_______________________________________________
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