Documentation (c) 2006-2008 Hobby-Robotics, LLC


Debug statement

Syntax:

Debug.Break

Debug.Print name

name

Identifier

Description:

Debug statement is used to support debugging during development. Compiler will generate code for Debug statements only in debug build when compiler debug option is turned on. When compiler debug option is turned off Debug statements have no effect.

Debug.Break will insert breakpoint instruction into the generated code. Breakpoint instructions are handled by the runtime. Runtime with built in debug monitor allow debugging using HBBR IDE debugger.

Debug.Print statement sends value of the symbol converted to the String representation to the debug channel which is handled by the runtime. Runtime with built in debug monitor will send this value to the configured console device.