为什么我应该使用 WinDbg?
可能的重复:
为什么使用 Windbg 与 Visual Studio (VS) 调试器?
我使用 Visual Studio 2005 进行 C++ 开发。
WinDbg 给了我什么,而 Visual Studio 没有?
我知道它非常适合客户端安装和远程调试,因为它很容易安装。
其他原因?您最喜欢的功能/命令是什么?
Possible Duplicate:
Why use windbg vs the Visual Studio (VS) debugger ?
I Use Visual Studio 2005 for C++ development.
What does WinDbg give me, that Visual Studio doesn't?
I know its good for client installations and remote debugging, as it's easy to install.
Other reasons? What are your favorite functions/commands?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在 WinDbg 中,您可以强制加载具有不兼容(与 EXE)校验和/日期的 PDB 文件。只需在命令行中写入
.symopt+0x40
即可。 Visual Studio 不允许这样做。In WinDbg you could force to load PDB file that has incompatible (with EXE) checksum/date. Just write
.symopt+0x40
in command line. Visual Studio doesn't allows that.来自 Wiki:
WinDbg 可用于调试用户模式应用程序、驱动程序和操作系统本身在内核模式下。它是一个 GUI 应用程序,但与更知名但功能较弱的 Visual Studio 调试器几乎没有共同之处。
WinDbg 可用于调试内核模式内存转储,这些转储是在发出错误检查时发生的通常称为蓝屏死机之后创建的。它还可用于调试用户模式故障转储。这称为事后调试。
From Wiki:
WinDbg can be used to debug user mode applications, drivers, and the operating system itself in kernel mode. It is a GUI application, but has little in common with the more well-known, but less powerful, Visual Studio Debugger.
WinDbg can be used for debugging kernel-mode memory dumps, created after what is commonly called the Blue Screen of Death which occurs when a bug check is issued. It can also be used to debug user-mode crash dumps. This is known as Post-mortem debugging.
使用 WinDbg,您可以使用两个 WinDbg 实例(客户端/服务器)远程调试应用程序。这对于调试客户站点上已部署的应用程序非常方便。
With WinDbg you have the ability to remotely debug an application with two WinDbg instances (client/server). That can be quite handy to debug an already deployed application at the customers site.