Re: What is up with the failure to indicate when execution has stopped at a breakpoint?
Re: What is up with the failure to indicate when execution has stopped at a breakpoint?
- Subject: Re: What is up with the failure to indicate when execution has stopped at a breakpoint?
- From: Quincey Morris <email@hidden>
- Date: Wed, 15 Jun 2011 03:06:08 -0700
On Jun 15, 2011, at 02:02, G S wrote:
> Most of the time now, Xcode does not indicate where it has stopped at
> a breakpoint. Execution stops, but the line isn't highlighted in the
> editor and nothing happens when you step through code. The editor
> just sits there showing the top of the file. Execution is stepping
> though, because the variables in the watch area change.
You're being too vague here, so it's not clear what kind of problem you're running into.
There's a fairly trivial defect in the debugger -- when a breakpoint is hit it frequently displays the source file corresponding to the wrong (i.e. not the topmost) entry in the backtrace (in the Navigator pane, I mean), and/or it displays the wrong part of the source file. Stepping is sensitive to the scope that's being displayed, so stepping may appear to be broken.
This annoying, but not a show-stopper. You can click on an entry in the backtrace and the source code display should right itself (or, at worst, click a different entry and back to the desired one). Is this what's happening to you? It sort of sounds like it.
You should be able to click on each entry in the backtrace, and Xcode should show you the corresponding place in the source code. Does this mechanism work or not work for you, regardless of what happens specifically at the point of the breakpoint?
The other thing to keep in mind is that, if the level-of-detail slider below the backtrace isn't at its rightmost position, some backtrace entries might be hidden, and that's going to affect how the debugger orients itself in the source code. If enough detail is hidden, the debugger may appear to be really, really broken.
_______________________________________________
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