News for hackers. Stuff that matters.
Re:Seer: A GUI front end to GDB for Linux by agumonkey on Friday November 15, 2024 @09:46AM (#42147373)
I agree with both of you. Printf is not enough, breakpoints are not enough. The solution lies between. Ability to gather rapidly relevant information to converge on wrong states.

ps: I wish I could work on a porcelain layer to manage the breakpoints in a more logical manner. Considering a problem you'd like to create different sets of breakpoints, run various tests and gather results to reviews. With the ability to add or remove layers rapidly. It's probably not too hard to do.

Re:Seer: A GUI front end to GDB for Linux by conradev on Friday November 15, 2024 @09:49AM (#42147396)
I have found combining these things to be useful: breakpoints that print stuff and auto-resume the program. Allows you to attach trace points at-will without requiring a recompile or losing state.
Re:Seer: A GUI front end to GDB for Linux by agumonkey on Friday November 15, 2024 @10:05AM (#42147548)
Yes losing state is a killer
Re:Seer: A GUI front end to GDB for Linux by null_deref on Friday November 15, 2024 @10:26AM (#42147738)
Yes exactly, and I'll probably say very generally that I usually use breakpoints when I am in the exploration stage of a significant state bug, and I'll usually use logging when I generally know where the bug should be but I need to pin point the exact place