Skip to main content

Setting a Conditional Breakpoint in Animator

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

How to set a Conditional Breakpoint in Animator.

Resolution:

You can set a Conditional Breakpoint in Animator.  This is not the same as a hard breakpoint.  A hard breakpoint occurs when Animator executes a specific statement.  A Conditional Breakpoint is a test of a data-item.  When that test becomes true, execution stops.  

Below are some valid examples of breakpoints that may be used by animating our demonstration program pi.cbl.

PI > 3.14      N < 25    STRING  =  "entrypoint"   loop-counter > <value>

When the breakpoint is set, the COBOL line will be highlighted.

Remember, you do not specify the word "if" when setting the breakpoint.

Old KB# 4070