Esempio n. 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);
        }
Esempio n. 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);
        }