Registered Member
|
Hi all,
as a newbie with Python and KDevelop I am just walking my first steps. Everything is new, but after some trials and errors, the combination works well. Now I am debugging a subroutine, and usual the mousepointer opens a context menu with the variables value when pointing to a variable. This works well in the main program, in every imported subroutine there is a message "*** NameError: name '__kdevpython_debugger_utils' ist not defined" instead of the value. Any idea? |
Global Moderator
|
Works here, sounds like a setup issue. Where did you get KDevelop from (distro/package/AppImage)? Do you have a file /usr/share/kdevpythonsupport/debugger/__kdevpython_debugger_utils.py?
I'm working on the KDevelop IDE.
|
Registered Member
|
Sorry. I'am using
KDevelop 5.03 KDE Frameworks 5.28.0 Qt 5.7.1 (kompiliert gegen 5.7.1) Das xcb Fenstersystem from Debian stretch, uname -a returns: Linux odoo 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux Yes, there is a file /usr/share/kdevpythonsupport/debugger/__kdevpython_debugger_utils.py. |
Global Moderator
|
5.0.3 is quite old. Can you try the appimage from our website? It should just run on your system out of the box.
I'm working on the KDevelop IDE.
|
Registered Member
|
No change with newest version.
|
Global Moderator
|
|
Registered Member
|
This happens to me as well. Possibly because I am using a python venv, so that __kdevpython_debugger_utils.py is not visible.
|
Registered Member
|
Could you explain how you got the debugger to work at all?
I'm also a newbie Thanks |
Global Moderator
|
Oh, that is quite possibly the reason, yes. Not sure how to solve that. The debugger should be easy enough to make work, just set up a launch config and click "Debug".
I'm working on the KDevelop IDE.
|
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]