Debug a built binary file with VS and *.pdb file

  Visual Studio 05 can be used as a powerful debug tool, and you may debug a binary file (exe or dll) as long as you have its corresponding *.pdb file and source code. You do not even have to create a VS project or solution.

  Here is the steps:

1.     Run the debug target first.

2.     Attach VS2005 debugger to the process. (tools – Attach to process)

3.     When the target is selected, the VS load all the needed symbols automatically.

4.     In the modules window(debug – windows-- modules), right click the target and choose “load symbols”, and choose the corresponding *.pdb file.

5.     Open the source file, *.cpp or *.c, and add the break point.

6.     Then you may debug.

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值