View disassembly in XCode 4 (or Xcode 5 or Xcode 6)

后端 未结 5 1265
生来不讨喜
生来不讨喜 2020-12-10 01:04

I\'m having trouble finding much in the way of information about the new XCode layout. How can I view the disassembly of my source file, rather than just the C++ code?

5条回答
  •  無奈伤痛
    2020-12-10 01:40

    In Xcode 4.2 (and Xcode 5), you can see the assembly or disassembly for a file by:

    1. Showing the assistant editor (command+option+Enter is the default shortcut).
    2. In the JumpBar, select the tuxedo icon and select "Assembly" or "Disassembly" from the drop-down list.

    You can view the Assembly for a file whether or not you're running the application. Disassembly is only available when the application is running and being debugged.

提交回复
热议问题