public async Task<List<VariableObject>> ListChildrenAsync(VariableObject variable)
{
if (CurrentState != DebuggerState.Paused)
{
throw new Exception("Expressions can only be evaluated in the paused state.");
}
var response = await new VarListChildrenCommand(variable).Execute(this);
if (response.Response == ResponseCode.Done)
{
return response.Value;
}
return null;
}