public void CreateAppDomain(ICorDebugProcess pProcess, ICorDebugAppDomain pAppDomain) { var domain = new DebugDomain(null, pAppDomain); Logger.WriteLine("App domain {0} created", domain.Name); pAppDomain.Attach(); pProcess.Continue(0); }
public void ExitAppDomain(ICorDebugProcess pProcess, ICorDebugAppDomain pAppDomain) { var domain = new DebugDomain(null, pAppDomain); Logger.WriteLine("App domain {0} exited", domain.Name); var handler = OnDomainExited; if (handler != null) handler(this, new DebuggerDomainExitedEventArgs(pAppDomain)); pProcess.Continue(0); }