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.