PR# 13373 TUPLE.object_comparison not shown in the debugger

Problem Report Summary
Submitter: ericbe
Category: Debugger
Priority: Medium
Date: 2007/08/20
Class: Feature Request
Severity: Serious
Number: 13373
Release: 6.0.6.9367
Confidential: No
Status: Closed
Responsible:
Environment: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.1)
Synopsis: TUPLE.object_comparison not shown in the debugger

Description
I just updated AXA Rosenberg's Storable Browser to handle the new storable format independent_store_6_0. As a consequence, I now show the value of TUPLE.object_comparison in the Storable Browser. This tool looks more or less like the Objects tool of EiffelStudio's debugger, so I was expecting to see this information in EiffelStudio's debugger as well. But I could not find it. The Objects tool just shows the items of Tuple objects, but not their `object_comparison' value? Is it an oversight?
To Reproduce

										
Problem Report Interactions
From:jfiat_es    Date:2007/10/09    Status: Closed    Download   
This is fixed by revision rev#70536 .

From:jfiat_es    Date:2007/09/14    Download   
Dear Eric,

After a second reading of the TUPLE class's code, I now fully agree with you.
My first answer was more related to the objects tool implementation.
Indeed it display only the attributes, except for particular types such as SPECIAL and TUPLE, where we display the items. 
However I agree we could/should display the object_comparison value, since in the tuple's context, it could be assimilated to a field.

This will be fixed soon.

From:ericbe    Date:2007/09/14    Download   
This is a weird answer. In TUPLE, items are also accessed through functions, but they are shown in the debugger. The fact that in the Eiffel class this property is accessed through a function and not an attribute is just anecdotal. In fact I'm convinced that this feature should be built-in in FreeELKS and some compilers (including gec) may decide to implement it internally as an attribute, and some others (like ISE) as the first slot of a Special-like structure. But to come back to my request, I think in the same way it is important to save this value in a Storable file, it is important to show it in the debugger.

From:jfiat_es    Date:2007/09/14    Download   
TUPLE.object_comparison seems to be a function.
Thus there is no reason to show it in the objects tool.

However, I admit if there were any attribute, it wouldn't be shown since there is a special treatment for the TUPLE objects (knowing there is no attribute).


From:manus_eiffel    Date:2007/08/20    Status: Analyzed    Download   
It is indeed an oversight.