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 12 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
entry.IsActive = false; entry.IsActive = false;
} }
process.Debugger.Options.ExceptionFilterList = list; process.Debugger.Options.ExceptionFilterList = list;
process.Debugger.ReloadOptions();
} }
base.OnClosing(e); base.OnClosing(e);
} }

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

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

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

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

Loading…
Cancel
Save