xcode - 我怎样才能让 Xcode 调试器进入函数的程序集?

标签 xcode debugging assembly

每当我尝试进入一个我没有源代码的函数时,例如Apple 库中的任何内容,调试器都会跳到下一行。我怎样才能让它进入 assembly 体呢?我可以通过为我想进入的函数设置一个符号断点来解决这个问题,但这不太方便。

最佳答案

按下步进控件时按住 Control。在 Xcode 12 中为我工作。

The stepping controls have alternative operations for working with disassembly or threads. You use the Control and Control-Shift modifier keys to call these alternatives. Press Control to step by assembly language instruction instead of by statement (the step icons change to show a dot rather than a line under the arrow) or Control-Shift to step into or over the active thread only while holding other threads stopped (the step icons show a dashed rather than solid line below the arrow).

https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/debugging_with_xcode/chapters/debugging_tools.html

关于xcode - 我怎样才能让 Xcode 调试器进入函数的程序集?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52994167/

相关文章:

c++ - 在特定地址反汇编程序中的 x86 代码

ios - Swift 4 - 如何使用按钮启用/禁用键盘

iphone - 如何在 iPhone/iPad 中创建六边形

Java实时调试(游戏)

eclipse - 如何使用eclipse调试hadoop wordcount?

java - 分离后可以将调试器附加到 Java 进程吗?

c - 从汇编形式中找出命令的数量

ios - 以编程方式设置标题

c++ - 我可以获得未处理(目标)C++ 异常的堆栈跟踪吗?

assembly - 如何读取 NASM 汇编程序 .lst 列表文件