保持xcode调试器不再脱离文件 [英] Keep xcode debugger from stepping out of file
问题描述
有什么办法可以防止这种情况吗?
如果您使用过渡,通常不会看到此视图,只有当我在复合语句。
你看到的不是你的代码,而是通过代码编写的调试器没有源代码(例如UIKit的东西)。如果您在此视图中点击退出或逐步,您将返回到您的代码。
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?
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.
这篇关于保持xcode调试器不再脱离文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!