Search code examples
xcodeassemblyxcode4xcode5

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


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?


Solution

  • 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.