[Qt-creator] Plugin questions (internals)

Enrico Ros enrico.qt at email.it
Mon Jul 13 17:40:15 CEST 2009


Hello, I'm having real fun developing a plugin for Qt Creator (no, I'm not 
integrating plasmoids ;-)). Now I'm facing some challenges and I'd like to 
know the best way to proceed:

 1. [the trickiest] My Plugin has to use the Debugger plugin (for example to 
execute gdb commands) and the Debugger plugin has to use My Plugin (for 
example to execute some more gdb commands on debugging startup). How can I 
untangle this?  a. Should MyPlugin be used by Debugger?  b. Should Debugger 
expose its internal classes or interfaces (to allow the usage by other 
plugins)? c. Any other suggestion is welcome.

 2. I may have the need to control the (debugging) execution, for example to 
stop the program, execute a couple of debugger commands and start it back. Is 
this available via the Debugger plugin internals or is it exposed in some 
session/application wide way? Are there any callbacks to update My Plugin's 
actions when the execution state changes? 

 3. I see that I can have many running executables for the code I'm editing 
but up to 1 (i think) debugging session. Is the 'single debugger per qt-
creator' enforced? Where can I look for this 'debugging session' properties? 
And for the 'running sessions' ?


Thanks a lot, I want to have a high code quality and 'do things the right 
way'.

Enrico Ros

--
 
 
 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
 
 Sponsor:
 Vuoi venire in vacanza a Riccione? Riccione Turismo ti aspetta con pacchetti speciali su misura. Prenota online la vacanza che preferisci!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=9310&d=13-7



More information about the Qt-creator-old mailing list