[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: How to debug nsplugins loader?
From: Unai Garro Arrazola <Unai.Garro () ee ! ed ! ac ! uk>
Date: 2003-04-17 14:35:30
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> It is possible, but it's not easy. It's not easy to debug nspluginviewer
in
> general, unfortunately. First you'll need to learn the code and understand
> how it works.
I'll go for it first, then.
> It involves a kpart which loads into konqueror and then
> launches an external process and communicates with it via dcop.
The biggest trouble for me will be dcop.... I think it will be a good moment
to learn something about it.
>
> In general the best way to debug nspluginviewer is to add debug
statements.
> However if you need to attach valgrind, this is far more complicated.
I don't think this could be a memory problem, so probably valgrind won't help.
I enabled the debug mode for nsplugins in kdebase and the only strange thing
I can remember is that I got a timeout from konqueror. This might be a
communication problem... but not too sure yet.
> If you want to debug outside konqueror, you can modify testnsplugin but it
> is not necessarily the best appoach.
Ok, thanks
Unai
- --
What we see depends on mainly what we look for.
-- John Lubbock
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+nru2hxDfDIoZlaURAoXaAJ4tdF/rf3yc4mFvyRQfw4yPbz7h7QCePx5V
20hAV9tWKSz8u6hz12GKjbU=
=a7Kf
-----END PGP SIGNATURE-----
>> 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