Keep xcode debugger from stepping out of file

梦想与她 提交于 2020-01-06 12:44:24

问题


Every so often, when I'm debugging and stepping through a thread, Xcode pulls me into another thread (that I'm guessing is executing all the other stuff involved in setting up views etc.). the problem is that this doesn't help me, as I just want to observe the code I've written myself.

Is there any way to prevent this?


回答1:


If you use "step over" you normally won't see this view, I only ever see it when I do "step into" on lines with a compound statement.

What you are seeing is not your code, but the debugger working through code it doesn't have the source to (e.g. UIKit stuff). If you hit "step out" or "step over" in this view, you will return to your code.



来源:https://stackoverflow.com/questions/20835021/keep-xcode-debugger-from-stepping-out-of-file

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