Skip to main content
When to use it. A value is wrong and the log does not say why. XenoCI Box launches the app under LLDB on the Mac, stops at the line you name and prints the stack and the variables, so your agent reads the state instead of guessing. It is iOS only

Run it

box debug stopping at a breakpoint in TallyApp.swift and printing a variable

Name the file without its folder. This is what box printed for SwiftieDev/SwiftUI-ToDos-App (MIT), stopping in the home screen’s body when the app first draws it
The stack runs 15 frames deep in the saved debug.txt; it is cut here after frame 6

Options

  • --print VAR shows a variable at each stop, for example --print self.items.count (default: all locals). Inside a SwiftUI body, properties of the view need self.
  • --break up to 10 times, as File.swift:42 or a function name; --stops records more than one stop
  • --tap-label "Save" or --tap-id taps a control after launch to reach code behind it; --wait is how long to wait for a stop (default 60 s)