コード例 #1
0
 public override void RemoveEvent(Mono.Debugger.Event ev)
 {
     if (!Process.MainThread.IsStopped)
     {
         ThrowNotSupported("Breakpoints can't be changed while the process is running.");
     }
     Session.DeleteEvent(ev);
 }
コード例 #2
0
 public override void EnableEvent(Mono.Debugger.Event ev, bool enable)
 {
     if (enable)
     {
         ev.Activate(Process.MainThread);
     }
     else
     {
         ev.Deactivate(Process.MainThread);
     }
 }
コード例 #3
0
 public override void ActivateEvent(Mono.Debugger.Event ev)
 {
     if (Process.MainThread.IsStopped)
     {
         ev.Activate(Process.MainThread);
     }
     else
     {
         ThrowNotSupported("Breakpoints can't be changed while the process is running.");
     }
 }
コード例 #4
0
 public override void EnableEvent(Mono.Debugger.Event ev, bool enable)
 {
     if (enable)
     {
         Session.ActivateEventAsync(ev);
     }
     else
     {
         Session.DeactivateEventAsync(ev);
     }
     Process.ActivatePendingBreakpoints();
 }
コード例 #5
0
 public override void RemoveEvent(Mono.Debugger.Event ev)
 {
     Session.RemoveEvent(ev);
     Process.ActivatePendingBreakpoints();
 }
コード例 #6
0
 public override void ActivateEvent(Mono.Debugger.Event ev)
 {
     Process.ActivatePendingBreakpoints();
 }