I am debugging a C++ program with gdb. After running gdb python, I set the breakpoints and run the program. However, after I quit the program, I leave the gdb debugger altogether.
If I make a change in my code and would like rerun the program, I have to do the whole process again. Run 'gdb python`, type the breakpoints (because the commands are not in the history), etc.
Is there a more efficient way to deal with this debugging problem?