Browse Source

Bugfix for Termination from the exception dialog.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2924 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
David Srbecký 18 years ago
parent
commit
39b6ee6970
  1. 4
      src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Internal/ManagedCallback.cs

4
src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Internal/ManagedCallback.cs

@ -121,10 +121,10 @@ namespace Debugger @@ -121,10 +121,10 @@ namespace Debugger
if (process.PauseSession.PausedReason == PausedReason.Exception) {
ExceptionEventArgs args = new ExceptionEventArgs(process, process.SelectedThread.CurrentException);
process.OnExceptionThrown(args);
// The event could have resumed the process
// The event could have resumed or killed the process
}
if (process.IsPaused) {
if (process.IsPaused && !process.HasExpired) {
process.OnPaused();
// The event could have resumed the process
}

Loading…
Cancel
Save