Example #1
0
        private string CreateReprToString()
        {
            var ev = TaskExtensions.RunSynchronouslyOnUIThread(ct => EvaluationResult.EvaluateAsync(DebugEvaluationResultFields.Repr | DebugEvaluationResultFields.ReprToString, cancellationToken: ct));

            return((ev as DebugValueEvaluationResult)?.GetRepresentation().ToString);
        }
Example #2
0
 private IReadOnlyList <DebugEvaluationResult> CreateChildren()
 {
     return(TaskExtensions.RunSynchronouslyOnUIThread(ct => (EvaluationResult as DebugValueEvaluationResult)?.GetChildrenAsync(PrefetchedFields, ChildrenMaxLength, ReprMaxLength, ct))
            ?? new DebugEvaluationResult[0]);
 }