Xfce Forum

Sub domains
 

You are not logged in.

#1 2013-09-13 12:04:08

bubblebobble
Member
From: Italy
Registered: 2012-02-08
Posts: 23

Panel plugins: how developers debug step by step the code?

I would like to start developing a panel plugin, I already gathered some information and had a look at some source code.

I know it is possible to start a debug session of xfce4-panel and then using gdb commands to see the stack, set breakpoints, ecc ...

My question concerns if developers debug the code step by step using any IDE such as Eclipse or Netbeans and how it is possibile to configure it in order to attach the GDB - IDE controlled - to a running session of xfce4-panel. As far as I know the majority of plugins are 'internal'.

Thank you in advance for any advices.

Offline

#2 2013-09-13 16:07:10

eric_the_idiot
Member
Registered: 2011-12-23
Posts: 50

Re: Panel plugins: how developers debug step by step the code?

http://docs.xfce.org/xfce/xfce4-panel/debugging
Might be what you're looking for.

Offline

#3 2013-09-14 22:55:48

bubblebobble
Member
From: Italy
Registered: 2012-02-08
Posts: 23

Re: Panel plugins: how developers debug step by step the code?

Thanks but I already had a look at that page and tried those tricks, but instead I am looking forward for any tips how to setup an IDE to debug a plugin step by step.

Offline

Board footer

Powered by FluxBB