Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] strange display of a pointer C++ object in the

> 
> =20
> Hallo,
> =20
> I did some tests with the new CDT 2.1.1 and recognized the following
> problem:
> =20
> When you want to display a local C++ object with the variable viewer in
> the debug perspective the information string "public", "private" is
> displayed with a pointer (in my case as a reference to 0x00000000 - see
> attached screen dump). Is there any reason for this behavior?


There is a reason by it does not mean it is right.
There is a PR for this and we will try to address the PR for CDT-3.0
We need to change the CDI interface to allow virtual grouping of variables.

This will permit backends like GDB/MI that groups nicely children
of class/struct variable to map correctly.  For now the "public/private/protected"
and extended classes are map to "dummy" variables hence the 0x00000 that you
see.




Back to the top