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: 24

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: 58

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: 24

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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 522.14 KiB (Peak: 531.45 KiB) ]