For some reason my Xcode debugger shows assembly code when debugging an iPhone app code. I开发者_JAVA百科'd like to see only Objective-C code, not assembly. This used to work OK but now something has changed. How to get back to "normal" debugging? Is there a setting in Xcode somewhere?
@AlexR: To see the source code in Xcode 4.4, switch off Show Disassembly When Debugging over here: Product -> Debug Workflow -> Show Disassembly When Debugging
In Xcode 3.x: Run -> Debugger Display -> Source Only
In Xcode 8.2.1:
- Click Menu item "Debug"
- Select "Debug Workflow"
- Click the "Always Show Disassembly", so that no checkmark appears.
I'm having the same problem despite having unchecked the "Always show disassembly" option. Contacted Apple and they said
"This is usally a permissions problem or an issue with dSYMs not being found by the debugger due to a bad .lldbinit file."
精彩评论