windows NT kernel driver debugging
Posted on 1997-05-16
I am having trouble using Windbg to debug a windows nt device driver. I have a null modem cable installed between two computers both running the same version of windows nt. I can use the com ports to talk between the
two so I know the wiring is right. The host uses COM1 the target COM2.
I have enabled debugging on the target by inserting the /DEBUGPORT=COM2
and /BAUDRATE=19200 in the boot.ini file under the correct [operating systems] section.
I start Windbg on the host system by: WinDbg -k i386 COM1 19200.
When I select go I get the following message:
Thread Create: Process=0, Thread=0
Kernel debugger waiting to connect on com1 @ 19200 baud
check the SYMBOLS path in WinDbg. It points to a directory with the following structure:
The SYS directory contains the checked version of my driver.
I then boot the target and the blue screen comes up saying Kernel Debugger Using: COM2 (Port 0x2f8, Baud Rate 19200)
The screen flickers and I see the RCV and SND flash.
I get stuck here because I never seem to get a response from the target. If I hit the ^C on the host the target will lock up. I never get any message saying the computers connected, but the ^c stops the target. The host never seems to connect!
What am I doing wrong? Have I left