public void OnSubProgramStart(FLProgram program, FLDebuggerEvents.SubProgramStartEventArgs args) { if (Debuggers.ContainsKey(program)) { Debuggers[program].OnSubProgramStart(args); if (Debuggers[program].FollowScripts) { Register(args.Root); OnProgramStart(args.Root, args); } } }
public void OnSubProgramStart(FLDebuggerEvents.SubProgramStartEventArgs args) { ProcessEvent(args.ExternalSymbol); instrTimer.Stop(); totalTimer.Stop(); if (nohalt) { return; } Enabled = false; continueEx = false; Show(); btnContinue.Enabled = true; Text = "WAITING FOR SUBPROGRAM"; }