Re: how to debug panel applets ?



Elijah Newren wrote:
On 1/13/06, Rod Butcher <rbutcher hyenainternet com> wrote:

Can somebody give me a pointer to how to debug failure of panel applets
to load ? I turned on gdb before trying to load the weather applet (gdb
gnome-panel <pid>), which "quits unexpectedly" trying to load, but gdb
doesn't show any output from panel. ??
thanks
Rod


http://www.davyd.id.au/articles/debugging-gnome-applets.shtml will
probably be useful to you.  :)
Thanks, it didn't get me there though.
I found what seems to be the secret in Andrew Burton's "Writing Gnome Applets in Gnome2" tutorial at
http://www.gnome.org/projects/ORBit2/appletstutorial.html

following his notes, I first loaded the applet via a terminal e.g :-
gdb /usr/libexec/gweather-applet-2
run

then add the applet to the panel. The output then all goes to the terminal, and backtrace can be obtained

Rod


--
-----------------------------------------------------
<corporate disclaimer drivel goes here>



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