Author Topic: Change the Debugger Toolbar on the fly  (Read 11824 times)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11931
    • Travis build status
Re: Change the Debugger Toolbar on the fly
« Reply #15 on: June 29, 2011, 03:45:09 pm »
Our watches window is just a table with seven columns: label, value (dec), value (hex), symbol (if watched variable is char), type, address space, base address.
There is no menu.
Then you need, to add new window, because your watches are totally different from the standard ones.
The correct place for this window is inside your debugger. And you should add a menu item in the info windows menu.
Probably, I should provide an API to add items in the debugger windows. (added to the TODO)

Alatar already ansered this question. Our hardware debugger has a command "reset" which triggers the reset. So, the only thing I do is to issue this command.
Have you tried to add a menu item for this then?
Also one can issue the command manually, from the debugger log window.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11931
    • Travis build status
Re: Change the Debugger Toolbar on the fly
« Reply #16 on: January 05, 2012, 09:52:49 pm »
OK, I've implemented two of the required features:
1. A way to specify what a pluggin supports
2. A way to register new debugger windows.

If you're still interested writing a C::B debugger plugin, can you try them and then provide feedback if they are useful to you?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]