/// <summary> /// Event handler for when a AppDomain of the process exits /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">An EventArgs that contains no event data.</param> private void ExitAppDomainEventHandler(object sender, CorAppDomainEventArgs e) { }
void OnCreateAppDomain(object sender, CorAppDomainEventArgs e) { e.AppDomain.Attach(); e.Continue = true; }
/// <summary> /// Event Handler for the creation of the Debugee's appdomains /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">An EventArgs that contains no event data.</param> private void CreateAppDomainEventHandler(object sender, CorAppDomainEventArgs e) { //Console.WriteLine("OnCreateAppDomain"); e.AppDomain.Attach(); e.Continue = true; }