Описание тега outputdebugstring

OutputDebugString function is for sending a text to the attached debugger, if any.

Use the function OutputDebugString to send the text to the attached debugger, if there is any. Without the debugger attached, this function does nothing. Debuggers like Visual Studio, WinDBG, Dependency Walker, DebugView can be used to see the output of this function.

This function is mainly used to debug your own program. It's very similar to writing text to screen (printf, cout etc) or to a log file to see what's the program doing.

OutputDebugString is actually a macro, that maps to one of the core functions: OutputDebugStringA or OutputDebugStringW