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. <p>Standard breakpoint allows us to set a pointat which to break, but you cannot then continuethe loop</p> SCROLL DOWNfor "Dynamic Breakpoint" componentdemonstration and repeat10,000 iterationsdo stuffCurrent value of currentIteration: 100Random Number: 63572and repeatNode 37Node 38Node 3910,000 iterationsNode 41Node 42do stuffCurrent value of currentIteration: 100Random Number: 25810Configure and Execute this componentto supply on-the-fly instructions to the Dynamic BreakpointBreaks flow oninstructions suppliedby a Dynamic Breakpoint ControllerLoop End Counting Loop Start Data Generator Node Annotator Loop End Breakpoint Random NumbersGenerator Table Rowto Variable Counting Loop Start Random NumbersGenerator Table Rowto Variable Data Generator Node Annotator Dynamic BreakpointController Dynamic Breakpoint 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. <p>Standard breakpoint allows us to set a pointat which to break, but you cannot then continuethe loop</p> SCROLL DOWNfor "Dynamic Breakpoint" componentdemonstration and repeat10,000 iterationsdo stuffCurrent value of currentIteration: 100Random Number: 63572and repeatNode 37Node 38Node 3910,000 iterationsNode 41Node 42do stuffCurrent value of currentIteration: 100Random Number: 25810Configure and Execute this componentto supply on-the-fly instructions to the Dynamic BreakpointBreaks flow oninstructions suppliedby a Dynamic Breakpoint ControllerLoop End Counting Loop Start Data Generator Node Annotator Loop End Breakpoint Random NumbersGenerator Table Rowto Variable Counting Loop Start Random NumbersGenerator Table Rowto Variable Data Generator Node Annotator Dynamic BreakpointController Dynamic Breakpoint

Nodes

Extensions

Links