I have a working GDB pretty printer that I've developed and works under GDB. However, under CodeLite, the CodeLite watch window and locals windows don't use the printers. They still show the raw format. If I do a print from the GDB output windows inside CodeLite, my printer is used.
How can I get CodeLite to use the printers in its watch and locals windows?
I appreciate any help you can provide.
Thanks,
Chris
GDB pretty printers
-
- CodeLite Curious
- Posts: 2
- Joined: Sat Oct 04, 2014 6:23 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: GDB pretty printers
Did you enable:
Settings->GDB Settings->Enable pretty printers ?
You should also place your printers under
Eran
Settings->GDB Settings->Enable pretty printers ?
You should also place your printers under
Code: Select all
C:\Users\<USER-NAME>\AppData\Roaming\codelite\gdb_printers
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 2
- Joined: Sat Oct 04, 2014 6:23 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: GDB pretty printers
I do have Enable pretty printers checked.
I'm running on Linux, so I've configured ~/.gdbinit to enable my printers. I also tried using startup commands in CodeLite but it had no effect. The printers are loaded and work with print from the GDB console panel inside CodeLite, so I'm not sure why the locals panel won't use them.
I'm running on Linux, so I've configured ~/.gdbinit to enable my printers. I also tried using startup commands in CodeLite but it had no effect. The printers are loaded and work with print from the GDB console panel inside CodeLite, so I'm not sure why the locals panel won't use them.