示例#1
0
        DbgDotNetValue IDebuggerRuntime.GetException()
        {
            var value = runtime.GetException(context, frame, DbgDotNetRuntimeConstants.ExceptionId, cancellationToken);

            if (value == null)
            {
                throw new InterpreterMessageException(dnSpy_Debugger_DotNet_Resources.NoExceptionOnTheCurrentThread);
            }
            return(value);
        }
示例#2
0
        DbgDotNetValue IDebuggerRuntime.GetException()
        {
            var value = runtime.GetException(evalInfo, DbgDotNetRuntimeConstants.ExceptionId);

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