# Chapter 4: Stopping in Code. Breakpoint Actions

**URL:** <https://forums.kodeco.com/t/chapter-4-stopping-in-code-breakpoint-actions/211887>\
**Category:** Advanced Apple Debugging\
**Created:** [August 19, 2025, 6:37am UTC](https://forums.kodeco.com/t/chapter-4-stopping-in-code-breakpoint-actions/211887 "2025-08-19T06:37:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![algashev](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/algashev/32/111435_2.png) [@algashev](https://forums.kodeco.com/u/algashev)\
**Post date:** [August 19, 2025, 6:37am UTC](https://forums.kodeco.com/t/chapter-4-stopping-in-code-breakpoint-actions/211887/1 "2025-08-19T06:37:05Z")

</div>

`(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 …»

---

<div class="post-metadata">

**Author:** ![andy449holland](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/andy449holland/32/110937_2.png) [@andy449holland](https://forums.kodeco.com/u/andy449holland)\
**Post date:** [November 21, 2025, 6:58am UTC](https://forums.kodeco.com/t/chapter-4-stopping-in-code-breakpoint-actions/211887/2 "2025-11-21T06:58:56Z")

</div>

> [@algashev](#):
>
> `(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 …» [E-ZPass Pennsylvania](https://www.ez-passpa.com)

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

---

<div class="post-metadata">

**Author:** ![jeana769hadley](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/jeana769hadley/32/110937_2.png) [@jeana769hadley](https://forums.kodeco.com/u/jeana769hadley)\
**Post date:** [December 3, 2025, 6:10am UTC](https://forums.kodeco.com/t/chapter-4-stopping-in-code-breakpoint-actions/211887/3 "2025-12-03T06:10:40Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![hooram95](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/hooram95/32/110937_2.png) [@hooram95](https://forums.kodeco.com/u/hooram95)\
**Post date:** [January 14, 2026, 4:14pm UTC](https://forums.kodeco.com/t/chapter-4-stopping-in-code-breakpoint-actions/211887/4 "2026-01-14T16:14:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@system](https://forums.kodeco.com/u/system)\
**Post date:** [February 1, 2026, 10:37pm UTC](https://forums.kodeco.com/t/chapter-4-stopping-in-code-breakpoint-actions/211887/5 "2026-02-01T22:37:45Z")

</div>

Closed on February 1, 2026, 10:37pm UTC

This topic was automatically closed after 166 days. New replies are no longer allowed.
