Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] getValueString for array variable

Hi Ling,
 
The label of a variable in the Variables view is presented as <name>=<value>. The <name> part is supplied by the "getName" method of IVariable. The <value> part is retrieved from the corresponding IValue object by using the "getValueString" method.
Because we don't display values for IIndexedValue objects, the "getValueString" method returns null.
Note, that getValueString is only used to render the label of a variable, IValue.getVariables is used to display the elements of an array.
 
Mikhail Khodjaiants
----- Original Message -----
Sent: Monday, July 17, 2006 11:29 AM
Subject: [cdt-debug-dev] getValueString for array variable

Hi,
 
The implementation of
         org.eclipse.cdt.debug.internal.core.model.CIndexedValue.getValueString()
just returns a null string "". 
Could any one tell me what's that function supposed to do, return the address of the array variable, or the string of values of all array elements ?
 
Thanks !
 
-- Ling


_______________________________________________
cdt-debug-dev mailing list
cdt-debug-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev

Back to the top