Conor
Conor

Reputation: 1777

Xcode 4.3.2 will not show full caller stack in debugger, only current function?

Xcode 4.3.2 won't show me the caller stack for a Mac OS X application in the debugger. In the following image is the issue I am referring to, the stack only includes the current function:

A single stack display

The output of the stack should include the caller functions as such (taken from iOS that does not show the same debugging issue):

Full stack display

I have all the latest settings, the "validate build settings" runs without warning. I use pretty much the defaults as they come for a new project, here they are for my debug scheme:

Using a different debugger under "Edit Schemes", GDB over LLDB has the same issue. Switching compilers to LLVM also has no effect.

Clearing the derived data and cleaning the project has not helped. Also removing the pre-compiled information from /var/folders/ has proved unsuccessful.

It's a complicated question I just wanted to find out if anybody out there had a similar experience and was able to fix it. As it has worked for years and only recently stopped working.

Upvotes: 10

Views: 2580

Answers (2)

z2k
z2k

Reputation: 10380

This is an old post but I was having the same issue with Xcode 7.2.1. It turns out I had some old text in the filter search bar at the bottom of the pane. Once I cleared that out it works as expected.

At least I learned some lldb commands along the way.

Upvotes: 3

9dan
9dan

Reputation: 4272

You can adjust the level of detail of the call stack display.

Look at the bottom side of the Debug Navigator :)

Xcode 4.3.2 Debug Navigator

Upvotes: 23

Related Questions