|
|
@ -105,6 +105,7 @@ namespace Debugger |
|
|
|
/// <summary> Sets up the eviroment and raises user events </summary>
|
|
|
|
/// <summary> Sets up the eviroment and raises user events </summary>
|
|
|
|
internal void RaisePausedEvents() |
|
|
|
internal void RaisePausedEvents() |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
AssertPaused(); |
|
|
|
DisableAllSteppers(); |
|
|
|
DisableAllSteppers(); |
|
|
|
CheckSelectedStackFrames(); |
|
|
|
CheckSelectedStackFrames(); |
|
|
|
SelectMostRecentStackFrameWithLoadedSymbols(); |
|
|
|
SelectMostRecentStackFrameWithLoadedSymbols(); |
|
|
@ -335,7 +336,7 @@ namespace Debugger |
|
|
|
if (timeLeft <= TimeSpan.FromMilliseconds(10)) break; |
|
|
|
if (timeLeft <= TimeSpan.FromMilliseconds(10)) break; |
|
|
|
//this.TraceMessage("Time left: " + timeLeft.TotalMilliseconds);
|
|
|
|
//this.TraceMessage("Time left: " + timeLeft.TotalMilliseconds);
|
|
|
|
debugger.MTA2STA.WaitForCall(timeLeft); |
|
|
|
debugger.MTA2STA.WaitForCall(timeLeft); |
|
|
|
debugger.MTA2STA.PerformCall(); |
|
|
|
debugger.MTA2STA.PerformAllCalls(); |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.HasExited) throw new ProcessExitedException(); |
|
|
|
if (this.HasExited) throw new ProcessExitedException(); |
|
|
|
} |
|
|
|
} |
|
|
|