1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00

Implementation of 'hasVariables' function.

This commit is contained in:
Mikhail Khodjaiants 2002-09-06 19:20:12 +00:00
parent fd0b0a20fe
commit b128851cc3

View file

@ -85,6 +85,16 @@ public class CValue extends CDebugElement implements IValue
*/
public boolean hasVariables() throws DebugException
{
try
{
ICDIValue value = getUnderlyingValue();
if ( value != null )
return value.hasChildren();
}
catch( CDIException e )
{
targetRequestFailed( "Operation failed. Reason: ", e );
}
return false;
}