internal Breakpoint AddBreakpoint(Breakpoint breakpoint)
        {
            breakpointCollection.Add(breakpoint);

            foreach (Process process in this.Processes)
            {
                foreach (Module module in process.Modules)
                {
                    breakpoint.SetBreakpoint(module);
                }
            }
            breakpoint.Changed += new EventHandler <BreakpointEventArgs>(OnBreakpointStateChanged);
            breakpoint.Hit     += new EventHandler <BreakpointEventArgs>(OnBreakpointHit);

            OnBreakpointAdded(breakpoint);

            return(breakpoint);
        }