Windows 调试工具中包含的工具

Debugging Tools for Windows includes several other tools in addition to the debugging engine and debugging environments. The extra tools are available in the installation directory of Debugging Tools for Windows, as described in this article.

下表使用首字母缩略词来引用多个 Windows 调试器,包括内核调试器(KD)、Microsoft控制台调试器(CDB)和Microsoft NT 符号调试器(NTSD)。

工具和实用程序

下表列出了可用的工具和实用工具:

Name Description
Breakin 导致用户模式中断在进程中发生。 To view the help for the command, open a Command Prompt window, go to the installation directory, and enter breakin /?.
DumpChk 验证内存转储文件。
GFlags 控制注册表项和其他设置。
Kill 终止进程。
列表(文件列表实用工具) To view the help for the command, open a Command Prompt window, go to the installation directory, and enter list /?.
记录器和日志查看器 记录和显示程序的函数调用和其他操作。
PLMDebug 使用 Windows 调试器调试在进程生命周期管理(PLM)下运行的 Windows 应用。 使用 PLMDebug,可以手动控制暂停、恢复和终止 Windows 应用。
TList 列出所有正在运行的进程。
UMDH 使用 User-Mode 转储堆(UMDH)工具分析堆分配。
USBView 显示通用串行总线(USB)主机控制器和连接的设备。
USBView2 显示 USB 主机控制器和连接的设备。 To view the help for the command, open a Command Prompt window, go to the installation directory, and enter USBView2 /?.

符号和源工具

下表介绍了支持调试源或符号服务器的额外工具:

Name Description
AgeStore 删除符号服务器或源服务器的下游存储中的旧条目。
DBH 显示有关符号文件内容的调试帮助(DBH)信息。
PDBCopy 从 Python 调试 (PDB) 符号文件中删除专用符号信息,并控制是否将公共符号包含在文件中。
SrcSrv 在调试时使用此源服务器传送源文件。
SymChk 将可执行文件与符号文件进行比较,以验证正确的符号是否可用。
SymProxy 在网络上创建一个 HTTP 符号服务器,所有调试器都可以指向该服务器。 此方法的优点是使用单个符号路径指向多个符号服务器(内部和外部),处理所有身份验证,并通过符号缓存提高性能。 The symproxy.dll file is in the SymProxy folder in the installation directory.
SymSrv 在调试器中使用此符号服务器并连接到符号存储。 有关使用符号服务器的信息,请参阅 Microsoft公共符号
SymStore 创建符号存储。 For more information, see Using SymStore.

远程和代理调试器工具

下表介绍了支持调试远程服务器或代理服务器的额外工具,并包括指向资源的链接以获取详细信息:

Name Description
DbgRpc 显示Microsoft远程过程调用(RPC)状态信息。 For more information, see RPC debugging and Using the DbgRpc tool.
DbgSrv 使用此进程服务器进行远程调试。 有关详细信息,请参阅进程服务器(用户模式)。
DbEngPrx 使用此中继器(小型代理服务器)进行远程调试。 For more information, see Repeaters.
KDbgCtrl (内核调试控件) 控制和配置内核调试连接。 For more information, see Using KDbgCtrl.
KdSrv 使用此 KD 连接服务器进行远程调试。 有关详细信息,请参阅 KD 连接服务器(内核模式)。
RTList (远程任务列表查看器) 通过 DbgSrv 进程服务器列出正在运行的进程。 To view the help for the command, open a Command Prompt window, go to the installation directory, and enter rtlist /?.
Remote 远程控制任何控制台程序,包括 KD、CDB 和 NTSD。 有关详细信息,请参阅 使用 remote.exe远程调试

Installation directory

Windows 调试工具的默认安装位置因作系统而异。 若要确定是否应使用 32 位或 64 位工具,请参阅 选择 32 位或 64 位调试工具

  • 对于 64 位工具:默认文件夹位置为 C:\Program Files (x86)\Windows Kits\10\Debuggers

  • For 32-bit tools: Locate the Windows Kits folder under the C:\Program Files folder.