HOWTO: Obtain a NDIS Trace on Win95 for an NDIS DriverLast reviewed: October 21, 1997Article ID: Q175416 |
The information in this article applies to:
SUMMARYYou can get a NDIS trace for your driver by following the instructions below. You can use this to debug your driver and as a tool to understand and compare your driver to other NDIS drivers.
MORE INFORMATION
Tools
Preparation for a NDIS Debug SessionOn the host machine:
Test the Null Modem ConnectionConnect the COM ports (for example, COM2) on the host and the target machine via a null modem cable. Configure the terminal application on the host and the target machine to run at the same baud. Make sure that data flows from the target to the host. Once data flows from the target to the host, you are ready to start a debugging session.
Start the Debugging Session
" Kernel Debugger Version 4.0.4 06/29/95 19:16:07 [80386] Symbols linked (NDIS) Broken in at start of VMM32 init because of /B option to wdeb386 AX=0000F001 BX=00000000 CX=00000001 DX=00037774 SI=C03682BC DI=C0320204 IP=C0360862 SP=C036810C BP=C03681E8 CR2=00000000 CR3=004C0 IOPL=3 F=-- -- CS=0028 SS=0030 DS=0030 ES=0030 FS=0030 GS=0030 -- NV UP DI PL NZ NA PO NC 0028:C0360862 MOV ESI,DWORD PTR [C036827C] DS:C036827C=00030856 # "To enable NDIS trace, set the NdisTraceImpt flag as follows:
#e _NdisTraceImpt 1 #gAs a result, NDIS outputs information on the serial port, which will appear on the terminal application on the target machine.
REFERENCESFor more information on WDEB386.EXE debugger commands refer to the documentation in the SDK and DDK. Keywords : ntddkndis Version : WINDOWS:4.0 Platform : WINDOWS Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |