|
|
|
@ -81,7 +81,7 @@ namespace DebuggerLibrary |
|
|
|
corDebug.Initialize(); |
|
|
|
corDebug.Initialize(); |
|
|
|
corDebug.SetManagedHandler(managedCallbackProxy); |
|
|
|
corDebug.SetManagedHandler(managedCallbackProxy); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
internal void ResetEnvironment() |
|
|
|
internal void ResetEnvironment() |
|
|
|
{ |
|
|
|
{ |
|
|
|
ClearModules(); |
|
|
|
ClearModules(); |
|
|
|
@ -91,15 +91,13 @@ namespace DebuggerLibrary |
|
|
|
ClearThreads(); |
|
|
|
ClearThreads(); |
|
|
|
|
|
|
|
|
|
|
|
currentProcess = null; |
|
|
|
currentProcess = null; |
|
|
|
|
|
|
|
|
|
|
|
evalQueue = new EvalQueue(this); |
|
|
|
evalQueue = new EvalQueue(this); |
|
|
|
|
|
|
|
|
|
|
|
GC.Collect(GC.MaxGeneration); |
|
|
|
|
|
|
|
GC.WaitForPendingFinalizers(); |
|
|
|
|
|
|
|
TraceMessage("Reset done"); |
|
|
|
TraceMessage("Reset done"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Fired when System.Diagnostics.Trace.WriteLine() is called in debuged process
|
|
|
|
/// Fired when System.Diagnostics.Trace.WriteLine() is called in debuged process
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
|