DBWIN: Traps Debug Strings and RIPs Without Debug Terminal

DBWIN uses TOOLHELP.DLL to trap all calls to the OutputDebugString function and to all FatalExit events. Normally, text from these events is sent to the AUX port. If no device is connected to AUX, the infamous "Can't read from device AUX" message is displayed. DBWIN traps these events and either directs the text to a window, to a secondary monochrome monitor, or to a COMM port or completely ignores the message, thus eliminating the need to attach a debugging terminal to the COMM port.

When running the debugging version of the Microsoft(R) Windows(TM) graphical environment, having DBWIN run all the time is extremely useful. You can monitor the diagnostic messages DBWIN traps to see when your application or the system encounters problems.

DBWIN also demonstrates the use of TOOLHELP to trap debugging events and messages and includes code that displays text on a secondary monochrome monitor.

For further information on DBWIN and its functions, see the DBWIN.TXT and DBAPI.TXT files. For more information on TOOLHELP, see the Microsoft Windows version 3.1 Software Development Kit (SDK) "Programmer's Reference, Volume 1: Overview" manual.

DBWIN was built and tested under Microsoft Windows version 3.1.

KEYWORDS:NotifyRegister;

{ewc navigate.dll, ewbutton, /Bcodeview /T"Click to open or copy files in the dbwin project." /C"samples}