I am solving my problem creating two toolbars and switching between them. Not really elegant, but it seems to work.
I am glad, my post started such a discussion
While we are at it... I had to modify all dialogs (Registers, Watches, ...). I think it would be useful to make the debugging windows customisable too.
I do not really know a lot of debuggers, but I doubt, that all are providing the same interface and the same functionalities as gdb.
Just a suggestion... I would not know, wehre to put the line between debugger-specific interface and stiff framework.
The reset button: imagine we are controlling a traffic light with a microcontroller.
Three colors --> 2 bits of memory to store the state.
00=red, 01=green, 10=yellow/orange
The program would be something like
while (true)
if (state == 00)
wait t
state = 01
if (state == 01)
wait t
state = 10
if (state == 10)
wait t
state = 00
end while
If something goes wrong, we could have state = 11 in the memory. Now you need the reset button. It's like the Ctrl+C under linux :lol:
Edit: of course you can avoid this situation by intelligent programming, but if everything would be perfectly coded, there would be no need for debuggers...
e.p