Hacker News new | ask | show | jobs
by cVwEq 3022 days ago
If a condition infrequently happens, a logged debug statement that compiles with the code (or at least travels with the source code) can be preferable to keeping a breakpoint around in the IDE. I personally don't feel comfortable relying on the IDE to maintain an important breakpoint for an infrequent condition. (Having flashbacks of Visual Studio 2008 dropping or moving old breakpoints).