Пример #1
0
 public void IncrementHitCount()
 {
     if (BreakEvent.HitCountMode != HitCountMode.None)
     {
         BreakEvent.CurrentHitCount++;
         BreakEvent.NotifyUpdate();
     }
 }
Пример #2
0
        protected void UpdateHitCount(object breakEventHandle, int count)
        {
            BreakEvent ev = GetBreakEvent(breakEventHandle);

            if (ev != null)
            {
                ev.HitCount = count;
                ev.NotifyUpdate();
            }
        }
Пример #3
0
 public void UpdateLastTraceValue(string value)
 {
     BreakEvent.LastTraceValue = value;
     BreakEvent.NotifyUpdate();
     if (value != null)
     {
         if (session.BreakpointTraceHandler != null)
         {
             session.BreakpointTraceHandler(BreakEvent, value);
         }
         else
         {
             session.OnTargetDebug(0, "", value + Environment.NewLine);
         }
     }
 }
Пример #4
0
 public void UpdateLastTraceValue(string value)
 {
     BreakEvent.LastTraceValue = value;
     BreakEvent.NotifyUpdate();
     if (value != null)
     {
         if (session.BreakpointTraceHandler != null)
         {
             session.BreakpointTraceHandler(BreakEvent, value);
         }
         else
         {
             session.OnDebuggerOutput(false, value + "\n");
         }
     }
 }
Пример #5
0
        protected void UpdateLastTraceValue(object breakEventHandle, string value)
        {
            BreakEvent ev = GetBreakEvent(breakEventHandle);

            if (ev != null)
            {
                ev.LastTraceValue = value;
                ev.NotifyUpdate();
                if (value != null)
                {
                    if (BreakpointTraceHandler != null)
                    {
                        BreakpointTraceHandler(ev, value);
                    }
                    else
                    {
                        OnDebuggerOutput(false, value + "\n");
                    }
                }
            }
        }
Пример #6
0
 public void UpdateHitCount(int count)
 {
     BreakEvent.CurrentHitCount = count;
     BreakEvent.NotifyUpdate();
 }