Esempio n. 1
0
        public async Task ClearBreakpoint(string fileName, int lineNumber)
        {
            fileName = UnresolvePath(fileName);

            // clear all matching breakpoints
            var breaks = await Inferior.ListBreak();

            for (int i = breaks.Length - 1; i >= 0; --i)
            {
                string fn   = breaks[i].Item1;
                int    line = breaks[i].Item2;
                if (fileName == fn && lineNumber == line)
                {
                    await Inferior.DelBreak(i);
                }
            }
        }