iphone - How to display the exact line of code causing application crash in xcode 4 debugger like in xcode 3.2 -


I've recently downloaded the encoded 4 and I've read the xcode transition guide, however, I'm still thinking How do I get it in Xcode 4 as the feature for debugger in xcode 4.

When I run the program in xcode 3.2 and run my application, if my code causes crash in program, I could press command + shift + y and i will see debugger mode which Shows which lines crash, however, I can not seem to work on it for xcod 4

I know that I actually see the cause of the accident after seeing the staxtrares, however, that actually saved me time in xcode 3.2 in that functionality, just wondering if anyone knows that Xcode How to do this in 4

You need to add an exception to the breakpoint. Select Breakpoint Navigator, click the Add (+) button below, then select the exception block ... This should stop a debugger to stop at any time with an exception. Note that you must have the Breakpoint button enabled (notes on the right side of the plan selector in the toolbar) also, in Exact Mode 4, run with enabled breakpoints, the previous versions have the option of "Build and debug".

Comments