Search code examples
xcodedebuggingbreakpoints

How to change StackTrace to Code Edit in xcode source editor area


Xcode runtime enabling breakpoints goes to stack trace in main source code editing area where we could not see the source code to debug.

I'm using Xcode 15 and SwiftUI. How can we change it to source code in main editing area.

Below is the source editor screenshot for reference: Xcode debug breakpoint view


Solution

  • Finally found the solution. Uncheck Xcode-> Debug-> Debug Workflow -> Always shows Disassembly Which removes the stack trace while running breakpoints and shows code edit on source editor area

    Check the below screenshot for the navigation in settings

    enter image description here