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
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…

User's avatar

Continue reading this post for free, courtesy of Type Safely.

Or purchase a paid subscription.
© 2026 Type Safely · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture