From kde-devel Thu Jun 27 12:00:51 2002 From: Gioele Barabucci Date: Thu, 27 Jun 2002 12:00:51 +0000 To: kde-devel Subject: Re: kcontrol modules X-MARC-Message: https://marc.info/?l=kde-devel&m=102518533921330 On Thursday 27 June 2002 04:05, Sheldon Lee-Wen wrote: > Also, how do I test and debug a kcmodule? I know about kcmshell, but > it only finds the modules when they are installed no? some things I've learned while working on kcmicons: - you can install in a dir contained in KDEDIRS if you want - use adddebug script from kdesdk while compiling your module - if you use gdb, install the gdb-qt resource file that is in kdesdk - to debug: * gdb kcmshell * run * press CTRL-C on the shell * use break methodName * continue now gdb will break while entering that method and you can use all its nice functions (next, step, list, print...) -- Gioele Barabucci (Gb]) ) mailto:dev@gioelebarabucci.com ) http://www.gioelebarabucci.com ) ) I've been and now I've gone ) ) /Magic Pie^Oasis >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<