[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: kcontrol modules
From: Gioele Barabucci <ml () gioelebarabucci ! com>
Date: 2002-06-27 12:00:51
[Download RAW message or body]
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 <moduleName>
* press CTRL-C on the shell
* use break methodName<TAB>
* 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 <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic