quick debug code
Posted: Sat Apr 05, 2008 11:17 am
This macro is handy for quickly including a single line in a debug mode compile.
Code: Select all
Macro dbug(programline)
If #PB_Compiler_Debugger
programline
EndIf
EndMacro
text$="in production mode"
dbug(text$="in debug mode")
MessageRequester("dbug test",text$)