Posted @ 2016-09-27 15:33 yards feng wo
Breakpoint debugging, is the most commonly used the simplest kind of debugging, can step by step tracking program execution process, get the value of the variable, quickly find the cause of the error.
Stealing a Picture: basic button action.
Normal breakpoints do not introduce, set a global breakpoint (Exception breakpoint), when encountering an error, the debug program will automatically navigate to the bottom of the stack information, that is, jump to the line of error code.
Click on a blank place to complete the global breakpoint settings.
Conditional breakpoint: Sets a conditional breakpoint that triggers a breakpoint when the condition is met, suitable for use in a loop structure, and can be accurately positioned to a loop
Symbol Breakpoint:
The dynamic output instructions are two, p and Po, similar to NSLog usage, p is used to print out general information, and PO is used to print out object information. The use of dynamic directives is used in conjunction with breakpoints, which enables the dynamic printing of information when the output program executes to a breakpoint.
ios--Settings for global breakpoints