How to debug an iOS application using Swift

I started building my first iOS app and I'm trying to debug it. I set a breakpoint for my viewDidLoad () function (line 14) as follows: enter image description here

When I launch the application and get the ViewController to load, my debugger view opens in xcode, but I get this (something that looks like assembly code). enter image description here

I cannot figure out how to view the debugger in my Swift code and execute it in Swift. Does anyone know how to do this? Thank!

+4
source share
2 answers

I found a problem.

Debugging> Debugging Workflow> Always Show Disassembly has been disabled. If you clear this check box, now my source code is when debugging.

+3
source

, . .

-1

All Articles