Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode debugger is slow when setting "conditional" break points?

I use Xcode 5 to program with C. I lately noticed that the debugger in Xcode was very slow when setting a "conditional" break points. If I remove any condition, debugger runs in normal speed. I wonder if there is something I should have set in Xcode configuration. Does anybody have any suggestion?

like image 252
Sangcheol Choi Avatar asked Feb 14 '26 10:02

Sangcheol Choi


2 Answers

Even if the breakpoint doesn't cause a stop, the debugger still needs to take control of the process every time to evaluate the condition.

If you need skip a conditional branch many times, it is often better to add the condition to your source, set the breakpoint on the new source, rebuild and rerun.

like image 141
Paul Beusterien Avatar answered Feb 16 '26 04:02

Paul Beusterien


I have observed very slow debugging when 'Queue Debugging' is enabled in XCode.

like image 29
deepwinter Avatar answered Feb 16 '26 04:02

deepwinter