Re: [anjuta-devel] Continuing with AVR plugin



2012/2/16 Sébastien Granjoux <seb sfo free fr>
Hi Lucas,


Le 16/02/2012 18:33, Lucas van Dijk a écrit :

Although the coming quarter of the year is still quite busy for me, I
want to continue with integrating the AVR tools in Anjuta. I have no
clue how fast the development will go, but here's the plan:

It's nice to heard again about you.



- Think of a new way to alter the Anjuta configure window. Preferably
with a XML file which describes which widgets to add and an API for
plugins to retrieve the values from it. I guess I can take some
inspiration from the project wizard generator.

I'm not sure we need all this in the configure dialog but I'm agree we can improve it.


Well, I thought it wasn't really 'the way to go' to have a lot of UI code in your plugin, and if I recall correctly someone even suggested the XML file thing a while ago, and when I think about it, it's definitely the most clean option. In this way we can also make sure the configure dialog still looks nice, and prevent plugins which add an ugly designed widget set to the configure dialog.
 

'Debugger Options', which will in the case of the GNU Debugger contain
the pretty printers, and the following options I'd like to add:
- Able to select if you want to debug the current program or a remote target
- In case of a remote target, able to enter target location details

It's already possible. You can configure pretty printer in Edit->Preferences gdb plugin. I think one goal was to put all settings here.



- Configure which gdb executable to use

This would be useful but I would prefer that it's done automatically.



This 'Options' dialog should of course be implemented by the right
plugin and will be different if for example the _javascript_ debugger is
enabled.

We can add an Option menu but why not using the already existing preference window?

The problem I have with the current GDB 'tab' in preferences is that the information is stored in the project session and it's not an Anjuta wide setting. Therefore I think it's better to have a dialog in the 'Debug' menu. I think the GDB executable and other settings should be stored in the project session too, and with that it's also possible to have project wizards provide an initial session file with for example 'avr-gdb' as default GDB executable.
 

Regards,
--
Lucas van Dijk
http://return1.net


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]