// Get the appropriate AppDomainNodeNode that matches the // name of the DebuggedAppDomain. public AppDomainNode Get(DebuggedAppDomain ad, bool thro) { AppDomainNode adn = (AppDomainNode)m_adm[ad.Id]; if (adn == null && thro) { throw new NoSuchAppDomain(); } return(adn); }
// Update the list of Steppers located within a process. private void _update_steppers(DebuggedAppDomain dad) { m_steppers.Items.Clear(); try { foreach (Stepper s in dad.Steppers) { m_steppers.Items.Add(new ListViewItem("stepper information..." + s.ToString())); } } catch { m_steppers.Items.Add(new ListViewItem("error viewing stepper")); } m_steppers.Columns[0].Width = m_steppers.ClientSize.Width; }
// Update the list of Assemblies located within a process. private void _update_assemblies(DebuggedAppDomain dad) { m_assemblies.Items.Clear(); try { foreach (DebuggedAssembly da in dad.Assemblies) { m_assemblies.Items.Add(new ListViewItem(da.Name)); } } catch (Exception e) { m_assemblies.Items.Add( new ListViewItem("error viewing assembly: " + e.Message)); throw e; } m_assemblies.Columns[0].Width = m_assemblies.ClientSize.Width; }
// Update the list of Breakpoints located within a process. private void _update_breakpoints(DebuggedAppDomain dad) { m_breakpoints.Items.Clear(); try { foreach (Breakpoint br in dad.Breakpoints) { m_breakpoints.Items.Add("breakpoint information..." + br.ToString()); } } catch (Exception e) { m_breakpoints.Items.Add( new ListViewItem("error viewing breakpoint: " + e.Message)); throw e; } m_breakpoints.Columns[0].Width = m_breakpoints.ClientSize.Width; }
// Create the textual representation of an AppDomain for use in the // History window. private static string _appdomain_name(DebuggedAppDomain a) { return(a.Name + " (" + a.Id + ")"); }
public AppDomainNode Get(DebuggedAppDomain ad) { return(Get(ad, true)); }
public AppDomainNode(IDebuggeeInformationPanel p, DebuggedAppDomain ad) : base(p, ad.Name) { m_ad = ad; }