Script Debugging - GlitchedSouls/AHK-Guide GitHub Wiki
There are many ways to debug a script, the idea of debugging your script is to use visual cue's alert you to what piece of code is currently being executed.
The multiple ways to use debugging:
Msgbox
F1::
Msgbox, You have pressed the F1 key.
return
ToolTip
F1::
ToolTip
ToolTip, You have pressed the F1 key.
return
TrayTip
F1::
TrayTip
TrayTip, Script Debugging, You have pressed the F1 key, 3 ; TrayTip lasts for 3 seconds.
return