开发者

How to disable assembly in Xcode's debugger window?

开发者 https://www.devze.com 2022-12-21 18:32 出处:网络
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

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:

  1. Click Menu item "Debug"
  2. Select "Debug Workflow"
  3. 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."

0

精彩评论

暂无评论...
验证码 换一张
取 消