Debug_Out

include debug.inc

Debug_Out String


The Debug_Out macro writes the specified string to the debugging device, and breaks execution by executing an int 1 instruction if the debugging version of Windows is installed.

Parameters

String

Specifies the string to display. The string must be enclosed in double quotation marks. The string can contain register placeholders in the same forms as described for the Out_Debug_String service.

Return Value

This service has no return value.

Comments

The macro calls the Test_Debug_Installed service to determine whether to execute the int 1 instruction. If the debugging version is not installed, the instruction is skipped.

The assembler generates code for the macro only if the constant DEBUG is defined before including the DEBUG.INC file.

See Also

Out_Debug_String, Test_Debug_Installed