Пример #1
0
        public void AddBreakPoint(ulong address, bool temporary = false)
        {
            string name       = CreateBreakPointName(address);
            var    breakpoint = new BreakPoint(name, address, temporary);

            AddBreakPoint(breakpoint);
        }
Пример #2
0
 public void AddBreakPoint(BreakPoint breakpoint)
 {
     if (!BreakPoints.Any(b => b.Address == breakpoint.Address))
     {
         BreakPoints.Add(breakpoint);
         GDBConnector.AddBreakPoint(breakpoint.Address);
         NotifyBreakPointChange();
     }
 }
Пример #3
0
        public void AddBreakPoint(ulong address, string name, string description = null)
        {
            if (string.IsNullOrWhiteSpace(name))
            {
                name = CreateBreakPointName(address);
            }

            var breakpoint = new BreakPoint(name, address, description);

            AddBreakPoint(breakpoint);
        }
Пример #4
0
 public void RemoveBreakPoint(BreakPoint breakpoint)
 {
     BreakPoints.Remove(breakpoint);
     GDBConnector.ClearBreakPoint(breakpoint.Address);
     NotifyBreakPointChange();
 }