This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to debug plasmoids?

Tags: None
(comma "," separated)
stansage
Registered Member
Posts
6
Karma
0
OS

How to debug plasmoids?

Fri Jan 28, 2011 6:57 pm
I have trouble with network management plasmoid in kde 4.6 and wanted debug it, how can i do it by right way? (IDE - KDevelop 4.2)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: How to debug plasmoids?

Fri Jan 28, 2011 11:14 pm
What problems are you having with the Network Management applet? It uses a seperate, KDE Daemon service to interact with NetworkManager.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS

Re: How to debug plasmoids?

Fri Jan 28, 2011 11:29 pm
You should probably start by running it from the commandline using plasmoidviewer, with debug symbols on (kdebugdialog).


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965
stansage
Registered Member
Posts
6
Karma
0
OS

Re: How to debug plasmoids?

Sat Jan 29, 2011 1:23 am
I found that networkmanagment doesn't read vpn-password from kwallet and thus couldn't establish connection.
I tried to build applet from source but there are many several shared libraries found in result. I don't know which module I should use as entry point to start debuging.

PS. By now I setup password storage option to "Always promt", but it inconvenient.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: How to debug plasmoids?

Sat Jan 29, 2011 8:42 am
Ok, this is an issue with the KDE Daemon module responsible for interfacing with NetworkManager. Can you please try reproducing under a new user? If you can, please file a bug report at bugs.kde.org, including information on the type of VPN you are configuring, and any other non-standard options you need to set.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
stansage
Registered Member
Posts
6
Karma
0
OS

Re: How to debug plasmoids?

Sat Jan 29, 2011 11:02 am
This is a bug, it was same behavior for new user too. I think this problem happens just with me, because nobody reported about it.
I want find out wrong code in sources to ensure that my bug is common trouble.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: How to debug plasmoids?

Sun Jan 30, 2011 7:53 am
Network Management code is located in a KDE Git repository.

It can be cloned from git://anongit.kde.org/networkmanagement


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]