Browse Source

Fixed "Func eval cannot work. Bad starting point. (Exception from HRESULT: 0x80131313)"

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5294 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
pull/1/head
David Srbecký 16 years ago
parent
commit
f54d17c787
  1. 10
      src/AddIns/Debugger/Debugger.Core/Eval.cs

10
src/AddIns/Debugger/Debugger.Core/Eval.cs

@ -111,8 +111,16 @@ namespace Debugger @@ -111,8 +111,16 @@ namespace Debugger
} else if ((uint)e.ErrorCode == 0x80131C22) {
// The operation is illegal because of a stack overflow.
throw new GetValueException("Can not evaluate after stack overflow");
} else if ((uint)e.ErrorCode == 0x80131313) {
// Func eval cannot work. Bad starting point.
// Reproduction circumstancess are unknown
throw new GetValueException("Func eval cannot work. Bad starting point.");
} else {
throw;
#if DEBUG
throw; // Expose for more diagnostics
#else
throw new GetValueException(e.Message);
#endif
}
}

Loading…
Cancel
Save