Browse Source

ignore all exceptions while evaluating

pull/18/head
Siegfried Pammer 14 years ago
parent
commit
9c892c6636
  1. 2
      src/AddIns/Debugger/Debugger.Core/ManagedCallback.cs

2
src/AddIns/Debugger/Debugger.Core/ManagedCallback.cs

@ -513,7 +513,7 @@ namespace Debugger @@ -513,7 +513,7 @@ namespace Debugger
// Exception -> Exception2(pAppDomain, pThread, null, 0, exceptionType, 0);
ExceptionType exceptionType = (ExceptionType)_exceptionType;
bool pauseOnHandled = process.Options != null && process.Options.PauseOnHandledExceptions;
bool pauseOnHandled = !process.Evaluating && process.Options != null && process.Options.PauseOnHandledExceptions;
if (exceptionType == ExceptionType.Unhandled || (pauseOnHandled && exceptionType == ExceptionType.CatchHandlerFound)) {
// sanity check: we can only handle one exception after another

Loading…
Cancel
Save