Browse Source

Fixed SD2-1080: Exception is thrown when stopping debuggee.

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

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

@ -50,7 +50,7 @@ namespace Debugger @@ -50,7 +50,7 @@ namespace Debugger
// ExitProcess may be called at any time when debuggee is killed
name == "ExitProcess") {
if (process.IsPaused && process.PauseSession.PausedReason == PausedReason.ForcedBreak) {
if (process.IsPaused && process.PauseSession.PausedReason == PausedReason.ForcedBreak && name != "ExitProcess") {
process.TraceMessage("Processing post-break callback");
// Continue the break, process is still breaked because of the callback
process.Continue();

Loading…
Cancel
Save