softICE 下断点

To debug an application with SoftICE, you will need to load the application's symbol information first, and then launch the application from Windows.

 

1.Right-click on  NMS files,and select  Load into SoftICE from the pop-up menu.

 

Now you must set a breakpoint so SoftICE will pop-up when the application is started.

1.Press <CTRL>-D to pop-up the SoftICE window.

2.Use the SET MAXIMIZE command to fully expand it.

   : SET MAXIMIZE on

3.Issue the  TABLE command.

4.Issue the FILE * command.

such as 

  : TABLE  nmdemo1a

  :FILE      nmdemo1app

5.Jump to the WinMain function using the U command.

  :U winmain

6.Set a breakpoint on WINMAIN by issuing the BPX command.

  :BPX winmain

7.Enter the X(exit) command,or press F5 to pop-down SoftICE.

8.Start the application such as NMdemo1a  by double-clicking on the executable.

   SoftICE pops up when the breakpoint you set on WINMAIN is hit.

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值