Hi, All:
I have a wdm usb driver to debug . I downloaded the softice and tried, but
failed.
- The nms file has been created;
- I opened it from SymbolLoader and start SoftICE.
- I use BPX command to set many breakpoints, but none of it stopped!
I think there were something I made wrong. I want your help, for example,
give the correct steps of debugging and how to see the debug information.
Any advice would be appreciated!
Thanks
Zhangxiaopeng
*******************************************
本邮件已ç»è¿‡åžƒåœ¾é‚®ä»¶è¿‡æ»¤ï¼Œå¦‚å‘现垃圾
邮件,请转å‘至:xxxxx@zte.com.cn
*******************************************
> I think there were something I made wrong
I want your help, for example, give the correct steps
of debugging and how to see the debug information.
This seems that the NMS file is wrong or not loaded.
Try these steps:
-
Try to enter the NMS file name into Winice.dat (in System32\drivers)
-
Try to put a hardcoded breakpoint directly into your code
For Soft-ICE, it is good to redefine the KdBreakPoint macro
not to call DbgBreakpoint, but as inline int 3.
#if DBG
#ifdef KdBreakpoint
#undef KdBreakpoint
#endif
#define KdBreakpoint _asm int 3;
#else //DBG
#define KdBreakpoint() /* */
#endif
Then place a breakpoint into your code by inserting
KdBreakpoint
L.