Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Columns in the variables view

John,
 
It would be nice to allow the debugger implementers contribute their own column presentations and label providers. Currently we can only contribute one adapter per element - IColumnPresentationFactory for ICStackFrame and IElementLabelProvider for ICVariable. But it is possible to make it delegating, maybe for the next release.
 
Mikhail


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of John Cortell
Sent: 15 May 2007 15:53
To: CDT General developers list.; cdt-dev@xxxxxxxxxxx
Subject: Re: [cdt-dev] Columns in the variables view

Mikhail, "location" is an important column, too. I entered the following bug in 2005.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=118131

As for "Declared" vs "Actual" type column, it would be nice for the view to support that difference. In theory, the debugger could make the distinction by being RTTI-aware. This would be backend dependent, of course.

John

At 07:11 AM 5/15/2007, Mikhail Khodjaiants wrote:
Content-Class: urn:content-classes:message
Content-Type: multipart/alternative;
         boundary="----_=_NextPart_001_01C796EA.2CC523F4"

Hi,
 
Currently the list of columns for the Variables and Registers views is provided by the platform. To fix https://bugs.eclipse.org/bugs/show_bug.cgi?id=186981 we need to contribute a column presentation factory, so we can define our own list of columns. Default (Java) columns are: "Name", "Value", "Declared Type" and "Actual Type". The gdb/mi implementation displays the same type as declared and as actual. Does it make sense to keep it as it is now?
Personally, I would prefer to have only three columns: "Name", "Value" and "Type".
 
Thanks,
Mikhail Khodjaiants
ARM Limited

--

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

--

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.


Back to the top