I am debugging a program using gdb. First I load my executable, then I continue to run the program. I sometimes want to interrupt execution of my program, so I do Ctrl + C.
My problem is that this closes both my program and gdb. How can I exit my program without exiting gdb?
Looks like under Windows, you have to use
Ctrl-BreaknotCtrl-C. See this page.Excerpt: