Xcode Debugger - how to single step at level of CPU instructions

前端 未结 4 1585
慢半拍i
慢半拍i 2021-02-20 15:06

This is definitely obsessive, but I am fascinated by how cleverly the compiler translates C code into machine instructions. Since I am a little fuzzy on some instructions, it

4条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-20 15:32

    In the Debugger window, enable assembly: Run/Debugger display/Source and disassembly. Wait till you hit a breakpoint. Then use Run/Step into(over) instruction to step in assembly.

提交回复
热议问题