Re: why are conditional breakpoints SO SLOW?
Re: why are conditional breakpoints SO SLOW?
- Subject: Re: why are conditional breakpoints SO SLOW?
- From: email@hidden
- Date: Tue, 18 Mar 2014 11:09:32 -0700
In the 4.0 line of Xcode's, lldb did re-evaluate the breakpoint condition expression every time the breakpoint was hit. But this was fixed for 5.0. So if this is showing up with Xcode 4.x then Xcode 5.x should be much faster. But hitting a breakpoint is a pretty heavy-weight operation, if you can change your code, sometimes putting the conditional in the code and the breakpoint in the conditional is a better way to go.
Jim
On Mar 18, 2014, at 10:02 AM, Quincey Morris <email@hidden> wrote:
> My guess is that the debugger is doing all of the work related to evaluating the condition (including possibly reading and decoding debug information from symbol files) every time the breakpoint location is hit, as if it were executing a ‘expr’ command each time. If so, this seems likely to be improvable.
>
_______________________________________________
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