Writes data via the Windows OutputDebugString function to the default destination.
DebugData ( string, string )
(s) string: desired data.
(i) string: more desired data.
(i) always 0.
Writes data via the Windows OutputDebugString function to the default destination. The function is generally only useful if you have the proper tools and hardware to debug Windows applications. In general, for standard retail Windows, the default destination is COM1. The Windows SDK provides tools (DBWIN) to allow you to capture the debug data to an alternate device or to a special window.
Use of this function in standard retail Windows may interfere with any device, such as a mouse or modem connected to COM1.
For users without sophisticated (and expensive) debugging tools, the WIL Debug, DebugTrace or the Message function work incredibly well.
a=45 DebugData("Value of a is", a) ; or for those without expensive tools Message("Value of a is", a)