Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 10-21-2002, 04:51
Pyrat
 
Posts: n/a
Question Why SoftIce is not setting breakpoints?

Why SoftIce is not setting breakpoints and not stopping at the beginning of the loaded program?
What am I doing wrong?

I am using SoftICE Driver Suite 2.6
Windows XP Build 2600 (No SP)
Reply With Quote
  #2  
Old 10-22-2002, 11:12
softbeard
 
Posts: n/a
You're not doing anything wrong. The softice loader simply does not work properly with WinXP and fails to break on the .exe's entry point. Here's one workaround:
1. Load softice.
2. Find your .exe file's entry point using HIEW or PEEditor or some other such utility.
3. Run your proggy and note the module name (ie., name of the .exe file). ie., if you're running BITCH.EXE, the module name will be BITCH.
4. Break in with softice using the keyboard hotkey (default: <ctrl><d>).
5. In softice, switch to your proggy's context with the ADDR module-name command; ie., ADDR BITCH
6. Set a breakpoint at the entrypoint as normal, via BPX <entrypoint>.
7. Exit softice by continuing execution with a X or G command.
8. Close your proggy.

Now the next time you run the proggy, it should break at the entry point. I've had it work sporadically at times, for unknown reasons, but this usually does work.

Last edited by softbeard; 10-24-2002 at 05:24.
Reply With Quote
  #3  
Old 10-28-2002, 03:26
hobgoblin hobgoblin is offline
Friend
 
Join Date: Jan 2002
Posts: 124
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 2
Thanks Rcvd at 5 Times in 5 Posts
hobgoblin Reputation: 0
Try this...

Removed by me

hob
Reply With Quote
  #4  
Old 10-30-2002, 07:01
softbeard
 
Posts: n/a
SoftICE breakpoints problems in XP

Ok folks, I think the matter has been fully resolved by Kayaker. It boils down to changing one byte in nmtrans.dll. His explanation of the problem is very detailed, so just check out the attached archive.
So far, this has worked for me using Win2000/DriverStudio 2.7.
Attached Files
File Type: zip softice_bp_fix.zip (13.3 KB, 184 views)

Last edited by softbeard; 11-01-2002 at 08:43.
Reply With Quote
  #5  
Old 11-03-2002, 11:36
mariop
 
Posts: n/a
Well I tried it but still does not break at entry point.

Also when I type "Task" I get a "No LDT" reply. Anyone know why?
Reply With Quote
  #6  
Old 11-06-2002, 11:54
softbeard
 
Posts: n/a
The 'task' command under Win NT (incl. Win XP, 2000) shows only 16 bit tasks. This is straight from the manual. So you're being told there is no Local Descriptor Table. Use 'proc' instead to get info on 32 bit processes.
You might also verify the radio button is clicked on in the SICE loader for breaking on winmain (I think it's under Module, Settings)
Reply With Quote
  #7  
Old 12-01-2002, 11:58
checks
 
Posts: n/a
For those of you who are still in need of Softice DriverSuite 2.7, ive posted the location you can get it at
http://www.exetools.com/forum/showthread.php?s=&threadid=1366

I use it with the attachment listed earlier in this thread and have had no issues w/ breakpoints on XP (SP1 + patches)

Enjoy

Checks
Reply With Quote
  #8  
Old 12-24-2002, 08:52
amigo amigo is offline
Friend
 
Join Date: Dec 2002
Posts: 30
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 1 Time in 1 Post
amigo Reputation: 0
and , to properly recognize entry point by Softice loader, the section containing entry point must be marked as "code" and "executable" - so you have to fix it in PE header
Reply With Quote
  #9  
Old 01-14-2003, 00:34
llhai
 
Posts: n/a
I think it is not a problen of softice.
Please refer to it's readme,the section of "SoftICE Support of Unreleased OS Version"
do following steps:
Load up the softICE Settings application.

Go to the advanced page.

Add an entry of NTSYMBOLS=ON.

Get the symbols for ntoskrnl.exe and translate them to NMS format. You can either use the Symbol Retriever utility to get the correct symbols, or get them from the Support CD provided by Microsoft.

Go to the symbols page and add in the ntoskrnl.nms that you've just translated.

Now, reboot your machine.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Breakpoints in Softice are not working Help 00_ZiP_RaR_00 General Discussion 8 02-14-2005 20:24


All times are GMT +8. The time now is 13:45.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )