《Advanced .NET Debugging》 读书笔记 Listing 3-7: 为notepad设置断点的过程

image

1. 首先在 WinDbg下载入notepad.exe

2. 设定symbol path .sympath c:\symbols

3. 使用X命令查找有哪些Save函数:

结果是找到其中一个想要的命令 notepad 函数 notepad!SaveFile

4. 设置断点  bp notepad!SaveFile

5 使用 g 继续执行,打开记事本,运行Save命令,断点击中。

posted on 2010-12-25 23:07  李志鹏  阅读(1612)  评论(0编辑  收藏  举报

导航