Is it possible that gdb will write something to the terminal, and not break it? For example, I would like to set a “breakpoint” on some method and have gdb print self, as well as parameters with every method call. Basically, I want to embed print statements in arbitrary places without recompiling.
thanks for any suggestions
This is what I still have after these useful comments:
define logFoo b fooMethod commands po self end end
GDB does not seem to be like nested end statements. any thoughts?
source share