I don't know what you are all talking about... At least on Windows, adding/removing a breakpoint while already debugging works just fine. I do it every day...?! Might someone enlighten me? Is this a Linux issue?!
Using the GDB debugger plug-in, if the debugger is running (not just in "debug mode", mind you, but the debug target is
currently running) my attempts to add a breakpoint are ignored.
If I click on the left margin, nothing happens.
It does work however if I pause the debugger, add the breakpoint, then resume.
You can see why this is if you look in debuggergdb.cpp. All of the breakpoint editing functions begin with this
if (!IsStopped())
return false;