Re: Weird behavior in Xcode GDB
Re: Weird behavior in Xcode GDB
- Subject: Re: Weird behavior in Xcode GDB
- From: Mont Rothstein <email@hidden>
- Date: Wed, 23 Mar 2005 19:09:02 -0800
Note to self #1 - Don't do stupid things like setting *Developer* build
style optimization to O3
Note to self #2 - If you ignore #1 don't make a public fool of yourself
by broadcasting #1 to the world
-Mont
On Mar 23, 2005, at 6:23 PM, Mont Rothstein wrote:
GDB has suddenly (started a few days ago, used to go away after a
re-boot, won't go away now) started doing something very weird, and
very annoying.
When I step through code (next or step into via the buttons or via the
command line) the current position marker in the code window jumps
around, and I have to step several times before I actually execute
what at the selected line.
Ex:
1) Break point is set at line 49
2) Code breaks at line 49
3) Click step-into
4) Red, current line, jumps to line opening bracket '{' of method
5) Click step-into
6) Current line jumps to first line in method
7) Click step-into
8) Current line jumps back to line 49
9) Click step-into
10) Current line jump back to first line in method
11) Click step-into
12) Current line jumps back to line 49
13) Click step-into
14) Current line moves forward to line 50 (and appears to have
actually executed line 49
It is as if it were stepping me through the actual assembly
instructions, and not just the code.
Has anyone else encountered this? Have a flipped some bit somewhere?
Help!!! This is making my debugging take forever.
Thanks,
-Mont
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden