Type Safely

Type Safely

Using Debugger Commands To Print Values in Xcode

Daily Coding Tip 074

Millie Sturgeon's avatar
Millie Sturgeon
Apr 28, 2022
∙ Paid
Share
Image by Steve Buissinne from Pixabay

One of the most useful tools for debugging any code, including SwiftUI, is being able to stop on a breakpoint. There are two similar commands that you can use with LLDB, Xcode’s debugger. Typing p into the console window in the bottom right will allow you to reference objects at the instruction pointer and get the va…

Keep reading with a 7-day free trial

Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Type Safely
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture