What\'s the instruction to cause a hard-break in Xcode? For example under Visual Studio I could do \'_asm int 3\' or \'DebugBreak()\'. Under some GCC implementations it\'s a
For posterity: I have some code for generating halts at the correct stack frame in the debugger and (optionally) pausing the app so you can attach the debugger just-in-time. Works for simulator and device (and possibly desktop, if you should ever need it). Exhaustively detailed post at http://iphone.m20.nl/wp/2010/10/xcode-iphone-debugger-halt-assertions/