.Net Memory -- Windbg基本命令
| 命令 | 解释 |
| .cls | 清空命令窗口屏幕 |
| .load dllfullpath | 加载debugger扩展dll如SOS sosex psscor。 |
| .loadby dll moduleName | 加载debugger扩展dll, 该扩展dll与所指定的module的dll在同一目录下。例如.loadby sos clr |
| .sympath+ symbol path | 添加符号文件路径 |
| .sympath symbolpath1;symbolpath1 | 设置符号文件,如果没有加参数则会显示当前的符号文件设置 |
| .hh command | 在帮助文档中显示该命令的帮助信息 |
| lm | 列出目前加载的模块 |
| ![ExtensionDLL.]help [-v][CommandName] | 显示从扩展dll中导出的命令帮助信息 |
| ~threadIds | 切换到thread id所指定的线程 |
| ~ | 列出所有线程 |
| .dump | dump进程,一般使用.dump /ma或者.dump /mf。可以使用.dump /?查看帮助信息 |
| !threadpool | 查看线程池的信息 |
| !runaway | 查看线程运行时间信息 |
| !clrstack | 查看clr线程栈信息 |
| !Name2EE <module name> <type or method name> !Name2EE <module name>!<type or method name> |
从方法名或者类名获得他的方法表和EEClass |
| !DumpMT [-MD] <MethodTable address> | 输出在类中定义的方法列表 |
| !DumpMD <MethodDesc address> | 列出方法描述信息 |
| !IP2Md <Code address> | 从managed代码地址获得方法描述 |
| k | 显示线程的stack frame信息 |
| !DumpIL <Managed DynamicMethod object> | <DynamicMethodDesc pointer> | <MethodDesc pointer> | /i <IL pointer> |
输出和托管code的IL代码 |
| !DumpDomain [<Domain address>] |
dump应用程序域相关的信息 |
| !DumpAssembly <Assembly address> |
输出assembly的相关信息 |
| !SaveModule <Base address> <Filename> | This command allows you to take a image loaded in memory and write it to a file |
| !EEHeap [-gc] [-loader] | enumerates process memory consumed by internal CLR data structures. You can limit the output by passing "-gc" or "-loader". All information will be displayed otherwise. |
| !DumpHeap | 输出垃圾收集堆相关的信息 |
| !GCRoot [-nostacks] <Object address> | !GCRoot looks for references (or roots) to an object. These can exist in four places: 1. On the stack |
| .prefer_dml | sets the default behavior for commands that are capable of providing output in the Debugger Markup Language (DML) format. |
| .chain | 列出所有的windbg扩展dll信息 |
| !sosex.refs objAddr |
Lists all references held by the specified object Lists all references to the specified object (searches heaps, stacks, registers, handle tables and the freachable queue) |
.Net Memory -- Windbg基本命令的更多相关文章
- windbg基本命令
1, .reload k 当前调用堆栈.u 当前正在执行的代码. 2, ~ 查看被调试进程中的线程信息每一行是一个线程的信息.第一行中,0 表示这个进程的编号:1ff4.1038 是 16 进制数字, ...
- Windbg基本命令应用总结
.cordll -ve -u -l //reload core dlls ------加载下载系统文件符号的URL---------- .sympath SRV*C:\Symbols*http://m ...
- Windbg 脚本命令简介 二, Windbg command
Windbg 脚本命令简介 二, Windbg script command $<, $><, $$<, $$><, $$>a< (Run Scri ...
- 【NX二次开发】NX内部函数,libugui.dll文件中的内部函数
本文分为两部分:"带参数的函数"和 "带修饰的函数". 浏览这篇博客前请先阅读: [NX二次开发]NX内部函数,查找内部函数的方法 带参数的函数: bool A ...
- Windbg Extension NetExt 使用指南 【2】 ---- NetExt 的基本命令介绍
摘要 : 本章节介绍NetExt常用的命令. 并且对SOS进行一些对比. NetExt的帮助 要想玩好NetExt, 入门就得看帮助. 看NetExt的帮助可以调用!whelp 命令. 这样hi列举出 ...
- Windbg + .Net .NET Memory Profiler 排查内存泄露
这是一个Winform程序,用于项目中的定时运算.症状是,运行一段时间后,内存持续上升.如一天内就能够达到300M. 打开.Net Memory Profiler,监控该程序,一段时间后,看到该程序产 ...
- Windbg找出memory leak的一种笨办法
以下内容是转自 http://www.cnblogs.com/fbird/p/5889596.html 以前做项目碰到过一个问题,在客户的站点上面发现有严重的内存泄漏.幸运的是我们找到了重现的步骤,一 ...
- Windbg Memory(内存)窗口的使用
在 WinDbg 中,可以查看和编辑内存,通过输入命令或通过使用内存窗口. 内存窗口的打开 通过菜单View-->Memory 通过快捷键Alt+5 通过工具栏 使用内存窗口 通过上面方式打开的 ...
- Windbg调试命令详解
作者:张佩][原文:http://www.yiiyee.cn/Blog] 1. 概述 用户成功安装微软Windows调试工具集后,能够在安装目录下发现四个调试器程序,分别是:cdb.exe.ntsd. ...
随机推荐
- cell的各种使用和赋值 总结
cell可以分为:自定义cell,系统的cell ,cell的自适应,.xib的cell //第一种cell:系统cell 在 UIViewController下创建UITableView //1.0 ...
- 基于'sessionStorage'与'userData'的类session存储
Storage.js: 注意:此版本实现的存储在符合Web存储标准(ie8及ie8以上的版本与其他主流浏览器)的情况下与session的周期一致,但在页面不关闭的情况下没有过期时间,ie7及以下版本则 ...
- Ajax调用asp.net后台代码
后台代码: [WebMethod] public static string CreateDate(string name,string age) { return "姓名:"+n ...
- 关于HTML的使用。
一丶标签问题 对于初学者来说,无疑用得最多的标签就是div和span了,当然就算只用这2个标签也能写出一个好看的页面,但是W3C为什么会给我们这么多标签来选择呢? 从浏览器的渲染来讲,标签的语义话,更 ...
- mac下升级ruby环境版本
在ios开发中会经常使用到cocoapods来管理第三方框架,在安装cocoapods的时候会涉及到ruby环境,有时候会因为版本过低会导致安装失败,本文主要讲一下如何升级ruby环境 安装rvm,r ...
- 生成bundle和移除bundle
1.命令行生成bundle $ php bin/console generate:bundle --namespace=Acme/TestBundle 2.移除bundle(新的bundle) App ...
- C语言预处理指令的初步了解
所谓预处理是指在进行编译的第一遍扫描(词法扫描和语法分析)之前所作的工作.预处理是C语言的一个重要功能,它由预处理程序负责完成.当对一个源文件进行编译时,系统将自动引用预处理程序对源程序中的预处理部分 ...
- Jasper_table_resolve get multiple copies of table in detail band issue
resolve method: (1) put table component into the Title band / Page Header band / Summary band, not i ...
- abiword rtf 解析
目前为止,代码跟进,知道是这个地方进行文件解析的 T_Error IE_Imp_RTF::importFile(const char * szFilename)
- iPhone 和Android应用,特殊的链接:打电话,短信,email;
http://ice-k.iteye.com/blog/1426526 下面的这篇文章主要是说,网页中的链接如何写,可以激活电话的功能. 例如,页面中展示的是一个电话号码,当用户在手机浏览器里面点击这 ...