Browse Source

Fixed SD2-1096: Moving mouse over com object whilst debugging unit test throws a ComException;

Error message for objects in wrong AppDomain

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1834 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
David Srbecký 20 years ago
parent
commit
a59c9dddec
  1. 4
      src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Variables/Evals/Eval.cs

4
src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Variables/Evals/Eval.cs

@ -165,7 +165,9 @@ namespace Debugger
} catch (COMException e) { } catch (COMException e) {
if ((uint)e.ErrorCode == 0x80131C26) { if ((uint)e.ErrorCode == 0x80131C26) {
throw new EvalSetupException("Can not evaluate in optimized code"); throw new EvalSetupException("Can not evaluate in optimized code");
} else { } else if ((uint)e.ErrorCode == 0x80131C28) {
throw new EvalSetupException("Object is in wrong AppDomain");
}else {
throw; throw;
} }
} }

Loading…
Cancel
Save