Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
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);
 }