Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 877
Promit Avatar asked Sep 10 '25 15:09

Promit


1 Answers

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.

like image 132
OldPeculier Avatar answered Sep 13 '25 09:09

OldPeculier