File size: 1,853 Bytes
4aa5fce
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
=== ajmitch__ is now known as ajmitch
[08:22] <dpm> good morning all
[15:17] <dpm> hey all, would someone be able to answer this question? http://askubuntu.com/questions/95956/creating-a-unity-lens-the-name-activation-does-not-exist-in-the-context-of-u
=== dpm is now known as dpm-afk
[19:27] <fredo> I am currently trying to debug PyGI bindings, but gdb always prints "No locals." for python internals although python-dbgsym is installed.
[19:27] <fredo> How do I properly debug python using gdb? Any other package missing?
[21:57] <JanC> fredo: I guess that only helps to debug Python and its standard library
[21:58] <JanC> I wonder if there exists a gdb plugin or such that understands PyGI / GObject Introspection
[21:58] <fredo> JanC: I also installed all sorts of dbgsym packages, and I do get locals for glib functions and so on.
[21:59] <JanC> you will probably also need the debug symbols of the libraries you use
[21:59] <fredo> But I don’t get locals for PyErr_Print() etc.
[22:00] <fredo> That’s why I thought that it were specifically python symbols missing.
[22:00] <JanC> fredo: you might want to ask this question in the #introspection channel on GIMPnet
[22:00] <fredo> JanC: Okay, will do. Thanks.
[22:01] <JanC> irc.gimp.org or such
[22:06] <JanC> fredo: there is also python-dbg which you can install
[22:07] <fredo> JanC: I settled for the dbgsym-variant, although I have to confess I don’t really understand the differences.
[22:07] <fredo> But I had no luck with python-dbg either.
[22:10] <JanC> fredo: are you using the special Python support in gdb?
[22:10] <JanC> I seem to remember there is something like that
[22:10] <fredo> JanC: Actually, I don’t know.
[22:11] <fredo> I read something like that, too, but I don’t know how to use it or not.
[22:11] <JanC> I'be never used it myself either
[22:11] <JanC> I've*