If you have the Windows 95 Device Driver Development Kit, you can install the system debug environment by using the DDKDEBUG.BAT batch file. This batch file installs the debugging version of selected system DLLs and VxDs, and creates a RUNWDEB.WRF file that you can use with the RUNWDEB.BAT batch file to start the debugger from the command line.
To install the debug environment, change directories to the DDK\DEBUG directory and type:
ddkdebug set
The RUNWDEB.WRF file contains command-line options for the debugger. This file along with RUNWDEB.BAT is copied to the WINDOWS\SYSTEM directory (provided that files with these names are not already present in that directory).
Before you can use RUNWDEB.BAT, you may need to edit it to contain the correct debug settings. These settings are:
/c: | Number which represents the COM port to which debug terminal is attached. For example: /c:1 |
/r: | Baud rate at which debug terminal will be operating. For example: /r:19200 |
You can add any other desired command line options to this file.
You may also need to edit the RUNWDEB.WRF to add /s: options for the symbol files of the components you intended to debug.
Once you have completed editing these files and verifying settings, you can start the debugger by running RUNWDEB.BAT (with one optional WDEB386 command line parameter) from the WINDOWS\SYSTEM directory.
You can also use DDKDEBUG.BAT to remove the system debug environment and restore the original system files. Type:
ddkdebug restore