问题
When debugging a project, after setting a breakpoint in XCode I'll start stepping through my code and then I will encounter disassembled code from what I assume are calls to various frameworks that don't have source code available. (Is this a correct assumption?) Is there a way (perhaps via a project setting that I haven't found yet) to suppress the display of this assembly code and not have to step though it but just step though the source code that I have implemented?
I see I can click on the the "continue program execution" icon but I am not positive that this is the best technique to accomplish this. At this stage of my development experience, stepping though the source to better understand code execution and being able to examine data values is very valuable, but stepping though assembly code ... not so much.
I'm using XCode 4 GM but I also encountered this in XCode 3.x.
回答1:
Try clicking the "step out" button when you are in code you don't have access to.
来源:https://stackoverflow.com/questions/5146676/xcode-debug-can-i-bypass-stepping-through-disassembly-code