To set up the debugger, first ensure that you have the correct files available. These files should be copied from the \SUPPORT\DEBUG\platform directory to a debug directory on the hard drive, where platform matches the platform of the host computer. If you are debugging Windows NT 3.1 or 3.5 from a Windows NT 3.51 computer, copy the files from a CD containing the version of Windows NT on the target computer. The following files are necessary for Kernel debugging:
Where platform matches the platform of the target computer. The files are from the following list:
Where platform matches the platform of the target computer. The files are from the following list:
Once you have set up the symbol tree and copied the necessary files to it, use a batch file or command line to set the following environment variables:
Variable | Purpose |
_NT_DEBUG_PORT | COM port being used for debugging on host |
_NT_DEBUG_BAUD_RATE | Max baud rate for debug port, 9600 for modems, 19200 for null modem serial cables |
_NT_SYMBOL_PATH | Path to symbols directory |
_NT_LOG_FILE_OPEN | Optional, can be used to list name of file to write a log of the debug session |
Once these environment variables have been set, you can start the Kernel debugger.