Exemple #1
0
        DbgDotNetValue IDebuggerRuntime.GetReturnValue(int index)
        {
            var value = runtime.GetReturnValue(context, frame, (uint)index, cancellationToken);

            if (value == null)
            {
                throw new InterpreterMessageException(dnSpy_Debugger_DotNet_Resources.ReturnValueNotAvailable);
            }
            return(value);
        }
Exemple #2
0
        DbgDotNetValue IDebuggerRuntime.GetReturnValue(int index)
        {
            var value = runtime.GetReturnValue(evalInfo, (uint)index);

            if (value == null)
            {
                throw new InterpreterMessageException(dnSpy_Debugger_DotNet_Resources.ReturnValueNotAvailable);
            }
            return(value);
        }