News for hackers. Stuff that matters.
Re:Ask HN: Why is output still popular in debugging? by cVwEq on Tuesday March 06, 2018 @11:51PM (#16534320)
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).

There are no comments on this comment yet.