Browse Source

Fixed SD2-1111: Debugger's form can be shown after the debug process has been stopped

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1837 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
David Srbecký 20 years ago
parent
commit
5e51e69c22
  1. 9
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/WindowsDebugger.cs

9
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/WindowsDebugger.cs

@ -418,7 +418,14 @@ namespace ICSharpCode.SharpDevelop.Services @@ -418,7 +418,14 @@ namespace ICSharpCode.SharpDevelop.Services
JumpToCurrentLine();
switch (ExceptionForm.Show(e.Exception)) {
Debugger.Process process = this.DebuggedProcess;
ExceptionForm.Result result = ExceptionForm.Show(e.Exception);
// If the process was killed while the exception form was shown
if (process.HasExpired) return;
switch (result) {
case ExceptionForm.Result.Break:
break;
case ExceptionForm.Result.Continue:

Loading…
Cancel
Save