5

In Xcode

In Xcode 6 when the app crashes or when the debugger stopped at a breakpoint we get a stack trace that looks like this in the sidebar:

Xcode 6 debugger stack trace view

I can click on the different stack frames/methods to jump to the places in the code and inspect the local variables. However, several of the stack frames which belong to the framework are abbreviated.

In Xcode 4 it looked like this:

Xcode 4 debugger stack trace view

Notice that there was a slider at the bottom. Dragging it to the far right revealed all of the stack frames and made all of them selectable.

I need that functionality in Xcode 6, so my question is any of these:

  • How can I show all stack frames, even the framework ones
  • How can I access a hidden stack frame to inspect the local variables (e.g. parameters to a method call in a framework)
  • Where did the slider go and what am I supposed to do without it?

1 Answer 1

7

The slider is gone. Now there is a button in the bottom left-hand corner of the debugger pane saying

Show only stack frames with debug symbols and between libraries

You have to uncheck it:

Screenshot from XCode

The buttons are described in Debug Navigator Help.

Sign up to request clarification or add additional context in comments.

1 Comment

right, I thought I had already clicked on all the buttons in the bottom left, but apparently I didn't. Works as expected, thanks a lot!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.