Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 编程语言 > .NET > C#.NET > windbg中常用的命令
【标  题】:windbg中常用的命令
【关键字】:windbg
【来  源】:http://blog.csdn.net/iiprogram/archive/2007/01/26/1494932.aspx

windbg中常用的命令

Your Ad Here ~ - list threads in current process context
~* - list detail information of threads in current process context
lm - list all loaded modules
!sym noice/quiet - symbol prompts on/off
.srcpath - set source code path
k - display current stack
~*kb - display current stack for all threads
dv - display current local variable (ctrl + alt + v to switch mode)
.Frame - call stack
dt xxx - display data structure for xxx such as PEB
!gle/!error - display last error for current thread.
!teb - diplay current thread execution block
!peb - diplay current process execution block
r [@register] - display value of all register
ln [Address] - display the object type in Address
x [] - search address for global variable or global function, such as "x kernel32!*"
!locks - display dead lock
!handle - get current handle usage
!htrace [enable] - display and trace handles.
u - disassemble
bp [Kernel!SetLastError] [value] - set break pointer
bl - display break pointer information.
for example:
bp `mysource.cpp:143` "j (poi(MyVar)”0n20) ''; 'g' "
when MyVar is exceed 0x20, g command will be invoked. NOTE: "j" is to set conditional break pointer.
ba - data break pointer
ba w4 0x4000000 "kb;g" - list all modify 0x40000's call stack.

p,pa,t,ta - control command 
查询某个月或某日的记录:【上一篇】
Windows源代码阅读之 句柄算法:【下一篇】
【相关文章】
  • (译)使用WinDBG进行内核调试(Fundamentals)
  • Driver Debugging with WinDbg and VMWare
  • 使用Windbg和SoS扩展调试分析.NET程序
  • Debug Tutorial Part 4: Writing WINDBG Extensions
  • WinDbg不同版本间的主要差异
  • Windows Debuggers: Part 1: A WinDbg Tutorial
  • Posted an article about how to set breakpoint in managed code under WINDBG
  • 使用WINDBG和SOS调试死锁
  • 【随机文章】
  • 动态分析技术-SOFTICE配制
  • 注释并且评论由Fred Cohen写的”逃避ids的50种方法”
  • 调试ASP,access时,like搜索出错的问题.
  • 常用的网站
  • Servlet实现动态图文结合输出
  • 012[原创]BSD下Web服务器的搭建
  • gfs6.1 on rhas4u2
  • Thunderbird中文文件名附件问题解决[GDLC原创]
  • 磁盘整理易如反掌
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 bbb软讯网络 All Rigths Reserved.