SoftIce and breakpoint

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

it could be in a seperate thread
is it the only break point you’ve set


From: xxxxx@logitech.com[SMTP:xxxxx@logitech.com]
Reply To: NT Developers Interest List
Sent: Wednesday, May 24, 2000 2:19 PM
To: NT Developers Interest List
Subject: [ntdev] SoftIce and breakpoint

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


You are currently subscribed to ntdev as: xxxxx@satyam.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

Try puting int 3 in your code and see it breaks there. Don’t forget to set
the command i3here ON in the softICE window.
If you rename your binary file, after building, it won’t work in softICE.
-bala


From: xxxxx@logitech.com[SMTP:xxxxx@logitech.com]
Reply To: NT Developers Interest List
Sent: Wednesday, May 24, 2000 4:49 AM
To: NT Developers Interest List
Subject: [ntdev] SoftIce and breakpoint

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


You are currently subscribed to ntdev as: xxxxx@ami.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

It could be that your symbols & source don’t match the binary, so the
breakpoint isn’t set where you think it is. Or it could be that you
are setting the breakpoint before the executable/DLL/driver image is
loaded, and the image doesn’t load where SoftICE expected, so the
breakpoint doesn’t get fixed up to the right address.

Verify that the .NMS file is from the same build as the binary. If so,
then try to set the breakpoint after the image is loaded. This is
sometimes a problem – if the code you want to debug is run during
intialization. You might try hard-coding a breakpoint.


Dave Cox
Hewlett-Packard Co.
HPSO/SSMO (Santa Barbara)
https://ecardfile.com/id/Dave+Cox

-----Original Message-----
From: xxxxx@logitech.com [mailto:xxxxx@logitech.com]
Sent: Wednesday, May 24, 2000 1:49 AM
To: NT Developers Interest List
Subject: [ntdev] SoftIce and breakpoint

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


You are currently subscribed to ntdev as: david_cox2@hp.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

Hi :
Thanks many of you help me on this issue. I also get the answer from
Neguma as following and they support are quite quick.
I see my table address is 0001 and the irq3 is not work anymore. After
all, I found my computer is very unstable (may due to too many beta driver)
so I uninstall softice , setup the window again and install softice,
then my problem is solved.

Michael Cheng

FYI

It sounds like your source isn’t associated with the correct module. This
sometimes happens if you have two modules loading that start with the same
first eight characters. SoftIce cannot distinguish files by their file
extensions or from long file names. The symbols will be associated with
whichever module loads last.

If you type “SYM”, if the first four numbers in the address are 0001, the
symbols were never mapped to a module. If not, they were mapped to the
wrong module.

If you do not have another module of the same name as the driver, then you
can manually relocate the symbol table with the symloc command. You should
first put an “_asm int 3” in your source code so that SoftIce pops up when
is loaded. Then use map32 to get the addresses of each section of code,
and
symloc to relocate every section of the symbol table. Here is an example:

:map32 threads
Owner Obj Name Obj# Address Size Type
Threads .text 0001 0008:F43D82E0 00002A00 CODE RO
Threads .data 0002 0023:F43DACE0 000000C8 IDATA RW
:symloc 1 8 f43D82E0
:symloc 2 23 f43dace0

If SoftIce doesn’t pop up, try the ‘I3HERE ON’ command in SoftIce.

Also make sure that the symbol information stored in *.nms file is
up-to-date with your executable file. You can also try using _asm int 3;
breakpoints in your code to set breakpoints.

Sudhir_Sambrani @lists.osr.com on 2000/05/24
07:27:39 PM

Please respond to “NT Developers Interest List”

Sent by: xxxxx@lists.osr.com

To: “NT Developers Interest List”
cc:

Subject: [ntdev] RE: SoftIce and breakpoint

it could be in a seperate thread
is it the only break point you’ve set

----------
From: ? xxxxx@logitech.com[SMTP:xxxxx@logitech.com]
Reply To: ??? NT Developers Interest List
Sent: ? Wednesday, May 24, 2000 2:19 PM
To: ??? NT Developers Interest List
Subject: ??? [ntdev] SoftIce and breakpoint

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


You are currently subscribed to ntdev as: xxxxx@satyam.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)