Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Automatic Operation Service Template Developer's Guide


5.3.9 Processing of debug process when pausing between steps

If you execute a debug task with Interrupt After Each Step specified as the break setting, the steps in the flow are paused before their plug-in processing is executed. The flow of processing when the step is resumed and the timing with which execution is paused depends on the debugging setting of the plug-in. This section describes the processing for the following scenarios:

Processing when executing a step

The following describes the processing of the debug task when a step is executed with Interrupt After Each Step specified as the break setting.

Figure 5‒3: Flow of processing when executing a step

[Figure]

  1. When you execute the debug task, JP1/AO begins executing Step A.

  2. The value of the input property Input A of Plug-in A is generated, and Step A pauses before executing the processing of Plug-in A.

  3. When you resume execution of Step A, JP1/AO executes the processing of Plug-in A.

  4. JP1/AO begins executing Step B according to the subsequent-step execution condition.

    The value of the input property Input B of Plug-in B is generated, and Step B is paused before executing the processing of Plug-in B.

Flow of processing when skipping plug-in processing

The following describes the processing of the debug task when a step is executed with Interrupt After Each Step specified as the break setting, and Do not execute the plug-in processing is specified as the debugging setting.

Figure 5‒4: Flow of processing when skipping plug-in processing

[Figure]

  1. With Step A paused before executing the processing of Plug-in A, you select Do not execute the plug-in processing as the debugging setting for Plug-in A. You are then able to specify the values of output properties and the return value of the plug-in.

  2. When you resume Step A, JP1/AO skips the execution of Plug-in A.

  3. Step B begins executing, subject to the output properties and return value you specified.

    The value of the input property Input B of Plug-in B is generated. Step B is paused before executing the processing of Plug-in B.

Flow of processing when changing output properties and return values

The following describes the processing of the debug task when Interrupt After Each Step is specified as the break setting, and Interrupt after the plug-in processing is specified as the debugging setting.

Figure 5‒5: Flow of processing when changing output properties and return values

[Figure]

  1. With Step A paused before executing the processing of Plug-in A, if you select Interrupt after the plug-in processing as the debugging setting for Plug-in A and resume Step A, JP1/AO executes the processing of Plug-in A.

    After processing Plug-in A, the execution of Step A pauses before the step finishes, allowing you to change output properties and return values.

  2. When you resume Step A, Step B starts executing subject to the output property values and return value you specified.

    The value of the input property Input B of Plug-in B is generated. Step B is paused before executing the processing of Plug-in B.

Related topics