public override void EnableEvent(Mono.Debugger.Event ev, bool enable)
 {
     if (enable)
     {
         ev.Activate(Process.MainThread);
     }
     else
     {
         ev.Deactivate(Process.MainThread);
     }
 }
 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.");
     }
 }