protected override void OnTargetStateChanged() { base.OnTargetStateChanged(); CommandClose.Update(); CommandContinue.Update(); CommandBreak.Update(); CommandStepInto.Update(); CommandStepOver.Update(); CommandStepOut.Update(); StatusTact = IsRunning ? string.Format("T: - / {0}", Target.FrameTactCount) : string.Format("T: {0} / {1}", Target.GetFrameTact(), Target.FrameTactCount); StatusText = IsRunning ? "Running" : "Ready"; }