XCode Debug - Can I bypass stepping through disassembly code

梦想与她 提交于 2020-01-02 02:31:12

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!