Exemplo n.º 1
0
        public void RefreshViewer()
        {
            _breakpoints = BreakpointManager.Breakpoints;
            EventViewerDisplayOptions options = ConfigManager.Config.Debug.EventViewer.GetInteropOptions();

            DebugEventInfo[] eventInfoArray = DebugApi.GetDebugEvents(options);

            lstEvents.BeginUpdate();
            _debugEvents = new List <DebugEventInfo>(eventInfoArray);
            SortData();
            lstEvents.VirtualListSize = _debugEvents.Count;
            lstEvents.EndUpdate();
        }