Help writing a plugin

Manoj Rajagopalan rmanoj at umich.edu
Fri Jun 26 21:58:19 UTC 2009



On Saturday 02 May 2009 10:28:19 am Manoj Rajagopalan wrote:
> Hi all,
>
>    I am interested in writing a graphing plugin to visualize 1-D and 2-D
> arrays within the KDevelop debugger. I have tried to google info on
> writing KDevelop plugins but the only thread I found leads to a broken
> link that is supposed to contain an example plugin.
>
>    Can someone point me to a webpage or provide some info on how to go
> about this? I have used Qt and KDevelop extensively and have scanned the
> kdevelop source (SVN) and the API documentation.
>
>    I am using KDevelop 3.5 on Ubuntu 8.04. When I create a KDevelop
> Plugin (Standalone) project and try to build the skeletal project that
> is created, I get a huge number of linker errors. I am pasting the
> command that KDevelop issues and a sampler of these errors. Could
> someone please point what changes I might need to make to my project
> settings so I can eliminate these?
>
>    I am trying to develop this plugin for the 3.5 branch.
>
> thanks,
> Manoj


Hi Niko, Aleix, Andreas and other developers,

   Thanks for your responses to this thread - I can get back to this now after 
a busy spell.

  I get your points about the 3.5 branch being dead and 4.x being active but I 
suspect many users would prefer existing 3.5 installations to complete their 
work and experiment with 4.x later. I am in this state myself so I thought of 
writing the plugin for 3.5. I can of course release a 4.x version later - the 
part of the code that will interface with KDevelop will change but the 
graphing code that visualizes once the data has been retrieved should be the 
same so writing both versions should be 1.5X work as opposed to 2X. Am I 
correct so far?

   I also get the part about writing a GDB-specific plugin right now. Does 
this have to be done in-tree or is it conceivable to have an standalone 
plugin that a package manager (like RPM) could copy into the correct system 
dir for KDevelop to detect?

Thanks,
Manoj




More information about the KDevelop-devel mailing list