Browse Source

fix bug in "Pause on handled exception": Exception filter was not rebuilt after ignoring an exception from DebuggeeExceptionForm

pull/517/head
Siegfried Pammer 11 years ago
parent
commit
22fe7c03a9
  1. 1
      src/AddIns/Debugger/Debugger.AddIn/Service/DebuggeeExceptionForm.cs
  2. 5
      src/AddIns/Debugger/Debugger.Core/ManagedCallback.cs
  3. 2
      src/AddIns/Debugger/Debugger.Core/NDebugger.cs

1
src/AddIns/Debugger/Debugger.AddIn/Service/DebuggeeExceptionForm.cs

@ -111,6 +111,7 @@ namespace ICSharpCode.SharpDevelop.Services @@ -111,6 +111,7 @@ namespace ICSharpCode.SharpDevelop.Services
entry.IsActive = false;
}
process.Debugger.Options.ExceptionFilterList = list;
process.Debugger.ReloadOptions();
}
base.OnClosing(e);
}

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

@ -141,6 +141,11 @@ namespace Debugger @@ -141,6 +141,11 @@ namespace Debugger
isInCallback = false;
}
public void ReloadOptions()
{
exceptionFilter = null;
}
#region Program folow control
public void StepComplete(ICorDebugAppDomain pAppDomain, ICorDebugThread pThread, ICorDebugStepper pStepper, CorDebugStepReason reason)

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

@ -302,6 +302,8 @@ namespace Debugger @@ -302,6 +302,8 @@ namespace Debugger
bool isPaused = process.IsPaused;
if (!isPaused)
process.Break();
process.CallbackInterface.ReloadOptions();
// We need to be paused for this
foreach(Module module in process.Modules) {

Loading…
Cancel
Save