Log in

View Full Version : Softice: debugging with source on ANOTHER computer?


aleksazr
February 16th, 2010, 07:49
I've created my EXE on my main comp and created
NMS file with "Package source with symbol table".

Now, I've copied EXE and NMS to another comp,
but am unable to use *that* NMS, since new NMS
file is always created (and the sources are not
avaiable on the comp).

How do I use the same NMS file on another comp?

(Pressing F1 inside Symbol Loader produces nothing,
the help file is missing)

Thanks

disavowed
February 19th, 2010, 09:40
Use WinDbg instead.

aleksazr
February 19th, 2010, 16:08
I tried NMSYM /SYMLOAD:test.nms;test.exe
and I can see the source, but local variables are missing.

I've added test.pdb to the list, but then softice crashes.

BTW, one comp has XP, the other win98

Kayaker
February 19th, 2010, 17:29
There might be some OS version conflict then in the nms format.

I used to use a line like this in a bat file

%NMSYMPATH%\nmsym.exe /TRANSLATE:source,package,always /SOURCE:. /SYMLOAD:%myexe%.NMS /LOAD:execute,nobreak %myexe%.exe

You probably already tried this, but in your case forget the /symload /load part and just copy the current nms file and exe to computer 2. Then right click on the nms file and it should default to "Load in Softice" (or use symbol loader).

If you still can't see the local vars, maybe SYMLOC might help (SoftICE Command Reference.pdf)

If you want to dig deeper into the nms format to try to figure out the problem, Mostek's IDA to SoftIce converter source might help.


Are you saying then you develop in XP and debug in 98? In the majority of cases you can run Softice under XP in VMWare. Unless you've already tried that and are positive it won't work, there's really no need for a second computer to run Sice.

Elenil
February 20th, 2010, 10:29
the 98 softice i liked pretty much sadly the NT versions where not the same instead and still is not :/
at the moment i found a new problem :
when i set a bp (it doesnt matter if hw bp or software) and i write a condition so that i can create a filter as soon i open softice it says : softice internal stack overflow detected or instead computer freez or reboot

this happens only when the bp is in a very time critical routine (or other sayed it hit very often and the condition was not met)
it doesnt leave for me no matter if i increase stacksize or heapsize