rogerhu/gdb-heap

First impression: No module named 'glib', TypeError: must use keyword argument for key function

spaceone opened this issue · 2 comments

I just started trying to use this project and stumble on:

(gdb) heap                                                                                                                                                                                                                                                                       
Blocks retrieved 10000                                                                                                                                                                                                                                                           
Blocks retrieved 20000                                                                                                                                                                                                                                                           
Blocks retrieved 30000                                                                        
…                                                                             
Blocks retrieved 460000                                                                            
Blocks retrieved 470000                                                                                  
Blocks retrieved 480000                                                                              
Python Exception <class 'ImportError'> No module named 'glib':                                          
Error occurred in Python command: No module named 'glib'                                                
(gdb) heap sizes                                                                          
Python Exception <class 'TypeError'> must use keyword argument for key function:                           
Error occurred in Python command: must use keyword argument for key function  

Are there missing dependencies? Where do I get glib from?
Can I let me show the tracebacks?

+1 Have you figured this out?

eprst commented

try editing gobject.py, change from glib to from glib_gdb on line 28