Debug

Functions of the Debug keyword are performed only on debugging runs of the application being tested. This allows these functions to be left in the code and results in non interruptions when the code is executed in the real environment.

Beispiel:

 

Debug.Output("Running")

 

(Outputs the text in the instant execution area of the debugger)

 

 

More:

Output (Debug)

Break (Debug)

MsgBox (Debug)

StartProfiler (Debug)

StopProfiler (Debug)