There are generally three ways to explore the underlying principles of iOS to achieve real machine debugging
Symbol breakpoint
Directly follow process analysis- through
Press control + step into
assembly
Process analysis
The following details how to find the source location of a method function using three methods, such as alloc
1.Symbol breakpoint
Directly follow process analysis
• Break points through codealloc
• Select breakpointsSymbolic Breakpoint
• Symbol breakpoint inputalloc
• alloc
In thePerson
Before reaching this part of the breakpoint, you need to close the new one abovealloc
Symbol breakpoint because there are so many calls to alloc that if turned on it will not be able to locate the Person’s alloc method exactly• Run the program to the Person breakpoint in Main to open the breakpoint and continue with discoverability
2, through thePress control + step into
• When the program runs to a breakpoint in person in the mian functionYou can findThe same goes for youallco
Is seen at the breakpoint of