예제 #1
0
        // Remove the AppDomain ``e.AppDomain'' from the TreeView
        private void _on_appdomain_exit(Object sender,
                                        DebuggedAppDomainEventArgs e)
        {
            _history("AppDomain Exit: " + e.AppDomain.Name);
            AppDomainNode ad = m_procn.Get(e.AppDomain);

            m_procn.Remove(ad);
        }
예제 #2
0
        // Add the AppDomain ``e.AppDomain'' to the TreeView, underneath the
        // correct process.
        //
        // Attach to the AppDomain so that we receive Module/Assembly Load/Unload
        // events in the future.
        private void _on_create_appdomain(Object sender,
                                          DebuggedAppDomainEventArgs e)
        {
            _history("Created AppDomain: " + _appdomain_name(e.AppDomain));

            e.AppDomain.Attach();

            m_procn.Add(new AppDomainNode(m_iad, e.AppDomain));
        }