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?
相关问题
- Xcode debugger displays incorrect values for varia
- Image loads in simulator but not device?
- Null-terminated string, opening file for reading
- importing files from other directories in xcode
- XCode Server: Opening import file for module '
相关文章
- xcode 4 garbage collection removed?
- Xcode: Is there a way to change line spacing (UI L
- Unable to process app at this time due to a genera
- Popover segue to static cell UITableView causes co
- “Storyboard.storyboard” could not be opened
- didBeginContact:(SKPhysicsContact *)contact not in
-
The file “
.app” couldn’t be opened becaus - How do I set compatible devices to only ARKit comp
From what I read in a very thorough XCode 4 review (http://fireballed.org/linked/2011/03/09/xcode-pilkington/), the ability to show a file as assembly code is now gone in XCode 4. I guess you could always set a breakpoint in a method, and look at it disassembled in the debugger console with something like the "x/100i" command to treat print out the next 100 instructions in assembly, but that is a lot less convenient.
Follow these simple steps inside of Xcode:
You can also display disassembly by navigating to:
Debug->Debug Workflow->Show Disassembly
while debugging.This will display source and disassembly in the main window view.
In Xcode 4.2 (and Xcode 5), you can see the assembly or disassembly for a file by:
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.
On Xcode 6 you can go to the menu "Debug -> Debug Workflow -> Always show disassembly".