public void GenerateUI()
        {
            if (MCS != null)
            {
                foreach (var callback in MCS)
                {
                    Breakpoints.Add(new Breakpoint(Core, callback));
                }

                BreakpointView.ItemCount = Breakpoints.Count;
                BreakpointView.Refresh();
                UpdateBreakpointRemoveButton();
                UpdateStatsLabel();
            }
            else
            {
                this.Enabled = false;
                ParentDebugger.DisableBreakpointBox();
            }
        }
Пример #2
0
        public void GenerateUI()
        {
            if (Mcs != null)
            {
                foreach (var callback in Mcs)
                {
                    _breakpoints.Add(new Breakpoint(Core, callback));
                }

                BreakpointView.VirtualListSize = _breakpoints.Count;
                BreakpointView.Refresh();
                UpdateBreakpointRemoveButton();
                UpdateStatsLabel();
            }
            else
            {
                Enabled = false;
                ParentDebugger.DisableBreakpointBox();
            }
        }