Debugging Tools for Windows |
This topic provides a brief overview of how input and output can be performed using the WdbgExts API. For an overview of the input and output streams in the debugger engine, see Input and Output in the Debugger Engine Overview section of this documentation.
The function dprintf works in a way similar to the standard C printf function and prints a formatted string to the Debugger Command window or, more precisely, the formatted string is sent to the output callbacks. To read a line of input from the debugger engine, use the function GetInputLine.
To check for a user-initiated interrupt, use CheckControlC. This function should be used in loops to determine if the user has attempted to cancel execution of an extension.
For a more powerful input and output API, see Using Input and Output in the Using the Debugger Engine API section of this documentation.