Browse Source

Fixed SD2-645: Process was terminated error when using debugger; (walkaround)

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1272 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
David Srbecký 20 years ago
parent
commit
2695cb2dca
  1. 5
      src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Debugger/Internal/ManagedCallback.cs

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

@ -349,7 +349,12 @@ namespace Debugger
thread.Process.SelectedThread = null; thread.Process.SelectedThread = null;
} }
try {
ExitCallback_Continue(); ExitCallback_Continue();
} catch (COMException e) {
// For some reason this sometimes happens in .NET 1.1
debugger.TraceMessage("Continue failed in ExitThread callback: " + e.Message);
}
} }
public void ExitAppDomain(ICorDebugProcess pProcess, ICorDebugAppDomain pAppDomain) public void ExitAppDomain(ICorDebugProcess pProcess, ICorDebugAppDomain pAppDomain)

Loading…
Cancel
Save