Pre-Defined types not working for local view

General questions regarding the usage of CodeLite
mcm
CodeLite Curious
Posts: 1
Joined: Thu Nov 20, 2014 8:28 am
Genuine User: Yes
IDE Question: C++
Contact:

Pre-Defined types not working for local view

Post by mcm »

CodeLite v6.1
Rpm is "codelite-6.1-1.fc20.x86_64.rpm" from "codelite.org"
OS is Fedora 20
gcc version 4.8.3 20140911 (Red Hat 4.8.3-7) (GCC)
GNU gdb (GDB) Fedora 7.7.1-21.fc20

I have checked the forums and cannot find any doc for the following.

In the "locals" window I would like to display some 32 bit integers as decimal and other 32 bit integers as hexadecimal.
I have enabled "Use PreDefined types for Locals view"
Also, I have setup a PreDefined type, Type="Oid_D_t" (my name which is 32-bit-int),
Expression="$(Variable)" Debugger_Command="print/x"

The above setup seems to work ok in the "Ascii Viewer".
But does not seem to work for "Locals" and "Watches".
(it would be nice if Watches used the PreDefined as well)

Is this a bug or am I doing something wrong.

Thanks in advance.

Marcus.

p.s. Could not add the "Debug full logging" as it would not fit