EmadGirgis
asked on
How to save breakpoints and tracepoints in gdb?
I am using gdb. I am not able to use ddd because my connection is slow and not able to run xterm. i am not able to use emacs, because I have not learned it.
Now it is painful to set up my traces and breaks every time.
Is there a way to save all this work for next time I run the debug?
Now it is painful to set up my traces and breaks every time.
Is there a way to save all this work for next time I run the debug?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You should definetly read https://www.experts-exchange.com/help.jsp, especially the section "What is the right grade to give?".
You can, though, create a .gdbinit file (see man gdb) and store the breakpoint commands in there (although I don't think that this is really a good idea, as breakpoints might change when the program evolves, etc.).
So I think you're out of luck here, even if this is not the answer you wanted to hear.