A brief overview of the Windows debuggers

本文介绍了几种Windows下的调试工具,包括内核模式调试器KD、命令行调试器CDB、用户模式调试器NTSD以及结合了良好用户界面的Windbg等。此外还对比了这些调试器的功能特性,如内核模式调试、用户模式调试、远程调试等。

A brief overview of the Windows debuggers

  • KD – Kernel debugger. You want to use this to remote debug OS problems like blue screens. You want it if you develop device drivers.
  • CDB – Command-line debugger. This is a console application.
  • NTSD – NT debugger. This is a user-mode debugger that you can use to debug your user-mode applications. Effectively, this is Windows-style UI added to CDB.
  • Windbg – wraps KD and NTSD with a decent UI. WinDbg can function both as a kernel-mode and user-mode debugger.
  • Visual Studio, Visual Studio .NET – use the same debugging engine as KD and NTSD and offer richer UI than WinDbg for debugging purposes.

Symbol Path

_NT_SYMBOL_PATH
srv*c:/symbols*http://msdl.microsoft.com/download/symbols

Comparison of Debuggers

FeatureKDNTSDWinDbgVisual Studio .NET





Kernel-mode debuggingYNYN
User-mode debugging
YYY
Unmanaged debuggingYYYY
Managed debugging
YYY
Remote debuggingYYYY
Attach to processYYYY
Detach from process in Win2K and XPYYYY
SQL debuggingNNNY
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值