From Xojo Documentation
When running in the IDE, Break causes the compiler to break into the debugger. In a compiled app, it has no effect.
The Break keyword has the same effect as setting a breakpoint in the Code Editor. Break statements are ignored in built apps.
Display the debugger when the loop counter reaches 5: