Пример #1
0
        public async Task GoLiveAsync()
        {
            var newList = new List <BreakPoint>();

            foreach (var breakPoint in this)
            {
                var liveBreakPoint = await debugger.SetBreakPointAsync(breakPoint.File, breakPoint.Line);

                if (liveBreakPoint != null)
                {
                    newList.Add(liveBreakPoint);
                }
            }

            Clear();
            AddRange(newList);
        }