Pompair
Pompair

Reputation: 7321

How to disable assembly in Xcode's debugger window?

For some reason my Xcode debugger shows assembly code when debugging an iPhone app code. I'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?

Upvotes: 7

Views: 4407

Answers (4)

screenMonkey MonkeyMan
screenMonkey MonkeyMan

Reputation: 423

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

Upvotes: 0

Pam W'spoon
Pam W'spoon

Reputation: 19

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.

Upvotes: 1

Paul R
Paul R

Reputation: 213120

In Xcode 3.x: Run -> Debugger Display -> Source Only

Upvotes: 4

0x5f3759df
0x5f3759df

Reputation: 180

@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

Upvotes: 7

Related Questions