Activate() 공개 추상적인 메소드

public abstract Activate ( Thread target ) : void
target Thread
리턴 void
예제 #1
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.");
     }
 }
예제 #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
파일: Command.cs 프로젝트: baulig/debugger
 protected override void Action(ScriptingContext context, Event handle)
 {
     if (!handle.IsActivated && handle.NeedsActivation)
         handle.Activate (context.Interpreter.CurrentThread);
 }