Icon

Dynamic Breakpoint Demonstrator

This workflow demonstrates the usage of dynamic breakpoint components to interrupt (and continue) a loop, which can be useful for debugging purposes.


@takbb Brian Bates 31 October 2023

Dynamic BreakpointThis workflow demonstrates the use of the"Dynamic Breakpoint" components The behaviour of the Dynamic Breakpoint is controlled by the Dynamic Breakpoint Controllerwhich is separated from the workflow and so can be reconfigured and re-executed on-the-flywithout affecting the loop.The Dynamic Breakpoint will interrupt the workflow when a breakpoint iteration is reached, butunlike the regular Breakpoint node, it is re-executable and so the loop is allowed to continue untila new breakpoint iteration is reached.This provides an additional means of debugging loops. e.g. you could run to iteration 1020, thenstep execution one iteration at a time, to see what is happening, and then allow the loop tocontinue to end.There is a performance penalty when the Dynamic Breakpoint is in the loop, so it would typicallybe included only for debugging, but it could be left in the loop with the configuration set as"Continue to end" for convenience. Breaks flow oninstructions suppliedby a Dynamic Breakpoint Controllerand repeatConfigure and Execute this componentto supply on-the-fly instructions to the Dynamic Breakpoint10,000 iterationsdo stuffDynamic Breakpoint Loop End Dynamic BreakpointController Counting Loop Start Data Generator Dynamic BreakpointThis workflow demonstrates the use of the"Dynamic Breakpoint" components The behaviour of the Dynamic Breakpoint is controlled by the Dynamic Breakpoint Controllerwhich is separated from the workflow and so can be reconfigured and re-executed on-the-flywithout affecting the loop.The Dynamic Breakpoint will interrupt the workflow when a breakpoint iteration is reached, butunlike the regular Breakpoint node, it is re-executable and so the loop is allowed to continue untila new breakpoint iteration is reached.This provides an additional means of debugging loops. e.g. you could run to iteration 1020, thenstep execution one iteration at a time, to see what is happening, and then allow the loop tocontinue to end.There is a performance penalty when the Dynamic Breakpoint is in the loop, so it would typicallybe included only for debugging, but it could be left in the loop with the configuration set as"Continue to end" for convenience. Breaks flow oninstructions suppliedby a Dynamic Breakpoint Controllerand repeatConfigure and Execute this componentto supply on-the-fly instructions to the Dynamic Breakpoint10,000 iterationsdo stuffDynamic Breakpoint Loop End Dynamic BreakpointController Counting Loop Start Data Generator

Nodes

Extensions

Links