ClearConsole directive - zero-plusplus/vscode-autohotkey-debug GitHub Wiki
See Debug directive for notes.
This directive clears debug console that were previously displayed. It will not break the script.
Syntax
This directive has the following syntax.
# Capitalization indicates the part that can be setting
# Only spaces are allowed before directive comment
; @Debug-ClearConsole(CONDITION)[HITCONDITION] => MESSAGE
CONDITION
- See Conditional breakpointHITCONDITION
- See Hit conditional breakpoint=>
- Output operator->
- Outputs theMESSAGE
as it is=>
- A line feed code is placed at the end of theMESSAGE
->|
or=>|
- The same as for each operator, but it suppresses the automatic removal of leading whitespace
MESSAGE
- Message to be displayed after clearing. See Log point's Embedding value
Everything after @Debug-ClearConsole
is optional. The following is an example of a valid directive.
; @Debug-ClearConsole
; @Debug-ClearConsole(A_Index == 2)
; @Debug-ClearConsole => console cleared