This object is used to debug a program.
Debug
The Debug object sends output to the debug output window at run time.
BackColor | ForeColor | Left | Top | Height | Width | hWnd | OnTop | Visible
Assert | Clear | Hide | Print | Show | Trace
Dim i As Int = 9
Debug.Show
Debug.OnTop = True
Debug "A debug message"
Debug.Trace i
Debug.Assert i > 10 ' This comment is displayed in the message box!
By default the Debug commands will be ignored by the compiler. However, optionally, these commands may be kept in an executable (EXE) by setting the appropriate option in the compiler tab of the GFA-BASIC 32 Properties dialog box.
Debug is a shortcut for Debug.Print and can be used instead.
Assert, Trace, CallTree, HexDump.
{Created by Sjouke Hamstra; Last updated: 09/05/2020 by James Gaite}