Why is my xcode jump to assembly view when break point set?

我只是一个虾纸丫 提交于 2019-11-29 17:54:46

问题


When I try to debug with breakpoint, it jump to assembly view like this no matter which line of code. I want the highlight of current source line back!!

How can I config it??


回答1:


This is a useful feature sometimes, but is easy to turn off:

Debug > Debug Workflow > Always Show Disassembly

In older versions of Xcode (<6.1):

Product > Debug Workflow > Show Disassembly When Debugging




回答2:


I'm having the same issue in Xcode 6.1 and solved it by doing the following:

Debug -> Debug Workflow -> UNCHECK Always Show Disassembly

Make sure "Always Show Disassembly" is unchecked




回答3:


You can try this

Product > Debug > Create Symbolic Breakpoint




回答4:


I agree with humphriesj regarding "Always Show Disassembly" in Xcode 6.1, and it did work for awhile.

But for me it seems to have turned itself back on, even though it was still unchecked in the menu. I turned it on and then back off, and finally I can see the source code again.



来源:https://stackoverflow.com/questions/12048625/why-is-my-xcode-jump-to-assembly-view-when-break-point-set

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