随笔分类 -  Debugging

摘要:最近看CER,终于实际用到了windbg(汗。。)结合我有限的使用,总结下面几点:1. 从MS的这里下。windbg是属于debugging tools的,又被包含在了windows SDK installer里面。2. 对于看CER来说,主要就是根据dump文件看到callstack,进而分析出重现步骤或找到fix的方法。三方面:load dump文件;设置symbol,image的path。然后执行.loadby sos + !analyze -v就好了。3. 需要任何帮助,输入.hh。 阅读全文
posted @ 2011-03-17 15:06 能巴 阅读(308) 评论(0) 推荐(0)
摘要:[From Code Project: http://www.codeproject.com/KB/debug/moomoo.aspx]IntroductionOur software just published version 1.0 . My clients often encountered exceptions and blue screens that caused the program to terminate. Most of time, we can not reproduce the bug in our systems. So catching and analyzin 阅读全文
posted @ 2010-03-12 10:17 能巴 阅读(865) 评论(0) 推荐(0)
摘要:The debug configuration of VC++ projects is the configuration that most debugging and development is done on. This is entirely appropriate because the debug information, lack of optimizations, and the extra debug checks in the Microsoft libraries, make stepping through your code and finding bugs muc 阅读全文
posted @ 2007-10-29 19:52 能巴 阅读(383) 评论(0) 推荐(0)
摘要:什么是WinDBG?WinDbg是微软开发的免费源码级调试工具。Windbg可以用于Kernel模式调试和用户模式调试,还可以调试Dump文件。由于大部分程序员不需要做Kernel模式调试, 我在这篇文章中不会介绍Kernel模式调试。Kernel模式调试对学习Windows核心极有帮助。如果你对此感兴趣,可以阅读Inside Windows 2000和Windbg所带的帮助文件。这篇文章得主要目的是介绍WINDBG的主要功能以及相关的命令。关于这些命令的详细语法,请参阅帮助文件。对文章中提到的许多命令,WINDBG有相应的菜单选项。如何得到帮助在命令(Command)窗口中输入.hh 命会调 阅读全文
posted @ 2007-04-29 14:32 能巴 阅读(2396) 评论(1) 推荐(0)