コード例 #1
0
 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);
         }
     }
 }
コード例 #2
0
        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";
        }