Setting a breakpoint programmatically

You can set a breakpoint in the program source code with the BREAKPOINT instruction. If the program flow encounters this instruction, the program stops as if the break point was set by the break command:
MAIN
  DEFINE i INTEGER
  LET i=123
  BREAKPOINT
  DISPLAY i
END MAIN

The BREAKPOINT instruction is simply ignored when running in normal mode.