(lldb) breakpoint set -n "-[UIViewController viewDidLoad]" -C "po $arg1" -G1
Xcode 16.2 (16C5032a) does not print anything in console.
It only works if you use manual input through the Breakpoint Navigator with «Debugger Command: po …»
Hello,
Xcode 16.2 (16C5032a) is not printing anything to the console when using the LLDB command breakpoint set -n “-[UIViewController viewDidLoad]” -C “po $arg1” -G1. The breakpoint is created, but the automatic “Debugger Command: po …” action does not execute as expected. However, the command works correctly only when entered manually through the Breakpoint Navigator using the built-in “Debugger Command” field.
Best Regards
Hello!
In Xcode 16.2, LLDB’s -C option for breakpoint commands often fails to run inline po expressions, which is why nothing prints. The reliable workaround is to set the command in the Breakpoint Navigator or attach it afterward with breakpoint command add, or use -o instead of -C.
Yeah, I’ve noticed the same thing in Xcode 16.x — the -C command on breakpoint creation seems flaky and doesn’t echo output anymore. Using the Breakpoint Navigator with a manual “Debugger Command” works reliably, so it feels like a regression rather than misuse. Hopefully Apple cleans this up in a point release.
This topic was automatically closed after 166 days. New replies are no longer allowed.