As mentioned earlier, when you activate the debugging prototype you get the prompt Pdb >. The debugging prototype is in the debug mode and execution of the prototype has not yet started. At this moment:
● Selected conditions, data-items, and events are initialized in accordance with the definitions you put into theprogram_name_user_init
routine.For all objects not initialized in the
program_name_user_init
routine, the following holds:Use the STEP and GO commands to start or resume execution of the prototype whenever the debugging prototype is in debug mode. The main function of STEP is to execute a number of steps and stop at the beginning of the next step. The main function of GO is to execute the prototype until suspension at the next breakpoint. There is also the interrupt option providing immediate suspension of the execution.