Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Debug statement ====== ==== Description ==== Use in source code to activate the debugger at a particular point. ==== Syntax ==== **Debug** ==== Notes ==== OpenInsight 10 implements a “$DEBUG” statement that you can use in place of the normal “Debug” statement: The difference here is that the debugger only triggers if the code is running on the same machine that it was compiled on, so if your program does is released with a compiled $DEBUG statement it shouldn’t execute on other machines. For complete details, please see [[https://revdevx.com/2024/12/05/debug-the-safer-alternative-to-debug/|this article on the RevDevX blog]]. ==== Example ==== <code> * Calls the debugger if error_flag has been set. If error_flag Then Debug ** ** </code> guides/programming/programmers_reference_manual/debug.txt Last modified: 2025/04/15 13:49by bshumsky