!ndiskd.dbglevel

!ndiskd.dbglevel 扩展显示并选择性地更改当前的 NDIS 调试级别。

警告!ndiskd.dbglevel 已被 WPP(Windows 软件跟踪预处理器)和驱动程序验证程序取代。 如果目标系统不支持 !ndiskd.dbglevel,则 !ndiskd 将提供以下警告。

0: kd> !ndiskd.dbglevel
    This target does not support tracing through !ndiskd.dbglevel or
    !ndiskd.dbgsystems.
    Learn how to collect traces with WPP

如果单击警告底部的链接,!ndiskd 将提供更多信息。

0: kd> !ndiskd.help wpptracing
    WPP traces are fast, flexible, and detailed.  Plus, starting with Windows 8
    and Windows Server 2012, you can automatically decode NDIS traces using the
    symbol file.  Just point TraceView (or tracepdb.exe) at NDIS.PDB, and it
    will be able to get all the TMFs it needs to trace NDIS activity.
    
    If you would like traces to be printed in the debugger window, you use the
    !wmitrace extension.  For example, you might enable traces with this:

    !wmitrace.searchpath c:\path\to\TMF\files
    !wmitrace.start ndis -kd
    !wmitrace.enable ndis {DD7A21E6-A651-46D4-B7C2-66543067B869} -level 4 -flag 0x31f3

有关 WPP 的详细信息,请参阅 WPP 软件跟踪

有关驱动程序验证程序的详细信息,请参阅驱动程序验证程序

有关 WMI 跟踪的详细信息,请参阅 WMI 跟踪扩展(Wmitrace.dll)

!ndiskd.dbglevel [-level <str>]

参数

-level
调试详细级别。 可能的值为:

  • NONE - 禁用调试跟踪
  • FATAL - 允许打印严重错误
  • ERROR - 允许打印错误
  • WARN - 启用打印警告
  • INFO - 启用打印信息性消息
  • VERBOSE - 启用打印所有调试跟踪

DLL

Ndiskd.dll

注解

此扩展仅适用于检查 NDIS.sys。 若要检查 NDIS.sys 的版本信息,请运行 !ndiskd.ndis 扩展。

另请参阅

网络驱动程序设计指南

Windows Vista 和更高版本的网络参考

调试网络堆栈

NDIS 扩展(Ndiskd.dll)

!ndiskd.help

!ndiskd.ndis

WPP 软件跟踪

驱动程序验证程序

WMI 跟踪扩展 (Wmitrace.dll)