[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Debugging a kio_slave
From:       Craig Howard <craig () choward ! ca>
Date:       2006-08-10 7:02:46
Message-ID: 200608100002.46995.craig () choward ! ca
[Download RAW message or body]

On Tuesday 08 August 2006 22:49, Craig Howard wrote:
> I'm trying to debug a kio slave that I'm writing, but I'm running into
> difficulties.  I've read DEBUG.howto in kdebase/kioslave and I've set
> KDE_SLAVE_DEBUG and re-run kdeinit.
>
> However, when I open a url that is handled by my ioslave, nothing is output
> on the terminal.   I figured out the pid by looking at the output of ps (so
> my ioslave is running) and I attached gdb to kdeinit at that pid.  I can
> set breakpoints to functions within my slave, but when I continue, gdb just
> hangs!  My konqueror instance that I used to load the url just spins
> indefinately.  Not attaching using gdb and just sending a SIGCONT produces
> the same behaviour.
>
> Have I missed a step?  Thanks.

For the record, I was doing it right, I must have had a mismatched library 
version after an apt-get upgrade.  Sorry about that.
-- 

Craig Howard
craig@choward.ca
Software Engineer - Amazon.com
BMath CompSci - University of Waterloo
 
>> 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