###目的###
Windows10上使用windbg调试Chromium Windows。

安装Windows 10 SDK时, 就包含了windbg.exe。
"C:\Program Files (x86)\Windows Kits\10\Debuggers\x86\windbg.exe"的路径加入Path环境变量,方便从CMD调用windbg.exe。
out\default32d\chrome --v=1 --enable-logging --user-data-dir=D:\chromium_windows\chromium_windows\src\out\default32d\datadir

[1]设置断点。
bp chrome!wWinMain
bp net!net::SSLServerContextImpl::SocketImpl::Read
bp net!net::SSLServerContextImpl::SocketImpl::Write
bp net!net::SSLClientSocketImpl::Read
bp net!net::SSLClientSocketImpl::Write
bp boringssl!SSL_read
bp boringssl!SSL_write
bp net!net::TCPSocketWin::Read

[2] 查找模块的符号。
x /D /f net!net::S*
x /D /f net!net::Socket*

[3] 单步调试。
使用命令:g, t, p, k等。
详细参考WinDbg文档。

###完毕###

最新文章

  1. JAVA并发编程
  2. The 13th Zhejiang Provincial Collegiate Contest(2016年浙江省赛)
  3. ASP.NET MVC应用require.js实践
  4. C# App.config 自定义 配置节 报错“配置系统未能初始化” 解决方法
  5. Git - Tutorial [Lars Vogel]
  6. android 源码 中修改系统字体大小
  7. [BZOJ 1082] [SCOI2005] 栅栏 【二分 + DFS验证(有效剪枝)】
  8. UICollectionView reloadData后cell被隐藏
  9. c#获取页面重定向url
  10. HDU2688-Rotate
  11. zookeeper环境搭建及使用
  12. 终止Docker容器
  13. obj-c编程02:给类自动合成存取方法
  14. mysql快速生成批量测试数据
  15. struts2框架之标签
  16. Elasticsearch从入门到精通之Elasticsearch基本概念
  17. Libevent源码分析—event_base_dispatch()
  18. Collection体系
  19. Qt托盘程序
  20. Translating between qplot and base graphics

热门文章

  1. 2016 10 27 考试 dp 向量 乱搞
  2. ASP.NET-ajax.BeginForm使用02
  3. POJ3370&HDU1808 Halloween treats【鸽巢原理】
  4. Cocos2dx 小技巧(十五)话说ScrollView的delegate实现过程
  5. ASCII中的控制字符含义
  6. Hadoop2.6.0配置參数查看小工具
  7. LintCode-赋值运算符重载
  8. thinkphp5项目--个人博客(四)
  9. Lists are mutable
  10. POJ 3204 网络流的必须边