Done... and here is the next patch:
http://smrt.is-a-geek.org/codeblocks/dbg_refactor0008.patchWhat is done:
1. Moved more methods to the base class - related to the project compilation and running the console on *nix
2. From now on there will be only one debugger toolbar.
3. Split Break and Stop buttons on the toolbar - need an icon for the break button
4. Watch improvements:
4.1. Added a Type column.
4.2. Now the user add watches by dragging string onto the watch window
5. Ensure the active thread is visible in the thread dialog
6. When the last debugger plugin is unloaded close all the debugger windows
7. Reimplemented the feature that allows the user to add breakpoints while the debuggee is running
8. Remember the last active debugger
I've introduce some bug related to the attaching to processes, which I've marked with FIXMEs and I hope I'll fix them soon.
PLEASE TEST, because I'm sure no one is running the debugger branch actively (or is shy to report problems). The branch before this was crashing annoyingly and badly when adding and removing breakpoints while the debuggee was running.
Also any feedback on the gdb/mi plugin is quite welcome.
Best regards....