3 ms·
You can rebuild your program while you're running gdb on it. Next time you restart the program you're debugging, it will pick up the rebuilt version and all you
by vilya 16y ago
You can rebuild your program while you're running gdb on it. Next time you restart the program you're debugging, it will pick up the rebuilt version and all your breakpoints and watches will still be intact. There's even a built-in gdb command for running make, for precisely this reason.