Darren Black Darren Black - 1 year ago 141
iOS Question

EXC_BREAKPOINT code=1 in _CFRunLoopServiceMachPort

I'm getting some odd behaviour. In my code, if I enable debugging, the debugger stops here:

enter image description here

Afterwards, even if I disable debugging and hit continue, the debugger remains stuck there.

If I don't enable the debugger, it doesn't seem to stop. What in the world is going on here? Here's the stack trace... it seems rather useless to me, but that might just be because I have no clue what's happening:

enter image description here

Answer Source

Try to disable breakpoints, and especially any symbolic breakpoints set up, then clean your project, and try again.

I sometime have an EXC_BREAKPOINT without any apparent reason ; then I clean, restart Xcode, toggle debugging or switch targets randomly, and it somehow does the trick.