Xcode stops at breakpoints several times

Xcode 4.5.2 with lldb debugger

When debugging in different places, Xcode likes to stop several times at certain breakpoints. Some only 2 or 3 times, others 10+ times.

In addition, when navigating the code, the marker of the current line often jumps to 2 or 3 lines and appears to execute the same code several times. This fails several times, as I tested it with NSLog instructions.

+4
source share
1 answer

Make sure that you are in the debugging scheme or double-check that the optimizer flags are disabled in the build settings.

+3
source

All Articles