←back to thread

376 points turrini | 1 comments | | HN request time: 0s | source
Show context
alfiedotwtf ◴[] No.42148130[source]
Debugger vs printf:

Has anyone found a reliable way to use a debugger when you have a) multi-process b) multi-threaded c) async d) timeouts? I would love to use a debugger but printf and logs “just work”

replies(4): >>42148913 #>>42149860 #>>42149876 #>>42151188 #
1. slashdave ◴[] No.42149860[source]
The syntax is clunky, but watchpoints can do what you want.

https://ftp.gnu.org/old-gnu/Manuals/gdb/html_mono/gdb.html#S...