pretty printing

General questions regarding the usage of CodeLite
gkourtis
CodeLite Enthusiast
Posts: 18
Joined: Sat Jan 25, 2014 9:16 pm
Genuine User: Yes
IDE Question: C++
Contact:

pretty printing

Post by gkourtis »

Hi,

I want to enable pretty printing for my special propietary structures.
I managed finally to enable it.
I managed to compile a library that should be called by python.
The library loads and is functional ( from within python ).

Now I have to work on the file printers.py in directory ~/.codelite/gdb_printers/libstdcxx/v6

The problem is that once I edit the file it gets rewritten.
I managed to avoid that by using chattr.

But anyway the file isn't taken into consideration.

I write somthing into it and it doesn't work.

I changed also the instructions under settings->gdb settings->gnu gdb debugger->startup commands

I commented the code as follows:

python
import sys
sys.path.insert(0, '~/.codelite/gdb_printers')

from libstdcxx.v6.printers import register_libstdcxx_printers
register_libstdcxx_printers (None)

#from qt4 import register_qt4_printers
#register_qt4_printers (None)

#from wx import register_wx_printers
#register_wx_printers (None)
end

But it continues to magically show pretty printing .

So were does it get's it ?

ANY HELP !!!