Re:The Grug Brained Developer (2022)
by dpkirchner on Wednesday June 18, 2025 @01:40AM
(#44306941)
I can't tell you how many times lldb has failed to hit breakpoints or has dumped me in some library without symbols. This was in Xcode while writing an iOS app, maybe it's better in other environments.
Print debugging, while not clever or powerful, has never once failed me.
Re:The Grug Brained Developer (2022)
by fingerlocks on Wednesday June 18, 2025 @02:28AM
(#44307151)
Sometimes the debugserver is flakey, I’ll give you that. But some that also sounds like UI quirks such as ambiguous breakpoints on a function definition with default initialized default values.
You can attach lldb without Xcode. Or you can open the lldb terminal in Xcode, pause execution, and inspect the breakpoints manually
You can script this so all function entry/exists, or whatever, are logged without touching the code or needing to recompile. You can then bulk toggle these breakpoints, at runtime, so you only see a particular subset when things get interesting.
Modifying the code to print stuff will feel barbaric after driving around a fine tuned debugging experience.