Difference between revisions of "Break"
From Xojo Documentation
(→See Also) |
(→See Also) |
||
Line 26: | Line 26: | ||
[[Category:Language Code Execution]] | [[Category:Language Code Execution]] | ||
+ | [[Category:Debugging]] | ||
[[Category:Language Debugging]] | [[Category:Language Debugging]] |
Latest revision as of 14:10, 18 January 2019
Language Keyword
When running in the IDE, Break causes the compiler to break into the debugger. In a compiled app, it has no effect.
Usage
Break
Notes
The Break keyword has the same effect as setting a breakpoint in the Code Editor. Break statements are ignored in built apps.
Sample Code
Display the debugger when the loop counter reaches 5: