I would like to be able to set breakpoints to every method of a C++ class in gdb.
I think the easiest way to do this is probably python, since now python has complete access to gdb. I know very little python, and with gdb on top of it, it’s even harder. I am wondering if anyone knows how to write a class python code that sets breakpoints to every method of a named class in gdb.
I would like to be able to set breakpoints to every method of a
Share
Assuming you compiled with debugging symbols, you dont even need python for this: