sirroom
驱动大牛
驱动大牛
  • 注册日期2001-07-30
  • 最后登录2018-05-29
  • 粉丝0
  • 关注0
  • 积分6分
  • 威望11点
  • 贡献值1点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1311回复:2

关于softice有时断不住程序的解决办法,我想这是正解

楼主#
更多 发布于:2002-05-30 21:55
所有留言及回应
Message 1 in thread
寄件者:michael_cheng@logitech.com (michael_cheng@logitech.com)
主旨:SoftIce and breakpoint
新闻群组:comp.os.ms-windows.programmer.nt.kernel-mode
View this article only
日期:2000/05/24
 

Dear Sir:
I try to set the breakpoint at source line in  softice. However, I
encounter one problem. the softice never stop at break point.
I am sure the code at breakpoint been execute( the debug message have
show up at softice and also debugview.)

I Verify the following step
At softice
1. Type sym , and I can see the symbol table
2.  File filename, and set the breakpoint , I do see the color change
at the source line.

At Symbol Loader
I can see the symbol table at   Edit->symbol table.

It use to wok fine, I try to un_ install and install again. it also can
not work properly. I use softice version 4.0

Any hint is appreciate

Michael Cheng


Sent via Deja.com http://www.deja.com/
Before you buy.
Message 2 in thread
寄件者:James Antognini (antognini@us.ibm.com)
主旨:Re: SoftIce and breakpoint
新闻群组:comp.os.ms-windows.programmer.nt.kernel-mode
View this article only
日期:2000/05/24
 

I\'ve had this sort of problem often enough. I start by trying the SoftICE
subcommand MAP32 to get information about the driver module of interest. Then I
use SYMLOC with that information to ensure SoftICE is matching its table with
the module. Eg,

  MAP32 mydriver

and I\'ll see something like this:

  mydriver  .text  0001 0008:F0958200    ....

so I do:

  SYMLOC 1 8 F0958200

If that doesn\'t solve the problem, I\'ll sometimes delete the table from storage,
delete the .NMS file SoftICE created for the driver, create the .NMS file anew
and reload the table.

If that doesn\'t work, I\'ll stick in \'_asm int 3\' to get a hard-coded breakpoint.
So long as I3HERE is ON in SoftICE, SoftICE should stop when that breakpoint is
hit. Then I\'ll have SoftICE set breakpoints in the usual manner, assuming that
when the hard-coded breakpoint is hit, SoftICE shows me corresponding source
code. If SoftICE cannot relate that breakpoint to its table and the source even
under these conditions, then I\'m stumped.

--
James Antognini
IBM Watson Research
 


?2002 Google

最新喜欢:

xiangshifuxiangs...
111
sirroom
驱动大牛
驱动大牛
  • 注册日期2001-07-30
  • 最后登录2018-05-29
  • 粉丝0
  • 关注0
  • 积分6分
  • 威望11点
  • 贡献值1点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2002-05-30 22:00
不过,偶也是如此,If SoftICE cannot relate that breakpoint to its table and the source even
under these conditions, then I\'m stumped.
如果偶能早一点看到这个贴子就好了,他用的方法偶基本上都用过了,可是还是有断不了的时候....于是偶也stumped

111
sirroom
驱动大牛
驱动大牛
  • 注册日期2001-07-30
  • 最后登录2018-05-29
  • 粉丝0
  • 关注0
  • 积分6分
  • 威望11点
  • 贡献值1点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2002-05-30 22:03
总结一下,出问题时通常会看到
mydriver .text 0001 0008:F0958200 ....
关于这个问题,到底是怎么回事呢?

111
游客

返回顶部