- debugging a win98 driver
- Posted by Adam Hart on July 7th, 2003
I'm still having problems with my filter driver in windows 98. Bryan
suggested installing the debug version of vxdldr but I can't seem to get the
remote debugger to work. It complains of wdeb98 requires rterm98. couldn't
find rterm98. I've copy pasted rterm98 it many directories but it never
seems to find it. Could someone give me a hand in getting wdeb98 working. I
tried softice but I didn't see how I could use it (ie no exceptions or msgs
came out)
thanks,
Adam Hart
- Posted by David J. Craig on July 7th, 2003
After paying from $1000 to $2500 for SoftIce, I can't see how someone would
just say they couldn't use it. Call their tech support. Read the manual.
It is the only useful debugger for 9x, IME. Read the user's manual and try
the examples to see how it works. You might have to stay up late to get in
touch with them in New Hampshire, but I do see four locations in Australia.
The usage of "filter driver" is normally used for Windows NT/2000/XP and
drivers running under the WDM subsystem for Windows 98 & Me. The later
versions of SoftIce can be used for both VxDs and sys WDM drivers.
"Adam Hart" <myfirstname@adamhart.net> wrote in message
- Posted by Adam Hart on July 7th, 2003
believe it splits out the debug information that Windows gives. I tried the
trial version anyway. All I want is to see what error message Windows is
giving when trying to load my driver. wdeb98 does this.
- Posted by Bryan S. Burgin [MSFT] on July 7th, 2003
Adam, here's a quick start to RTERM.
--Put WDEB98 in the Windows\System folder of the system under test.
--Add these lines to that system's AUTOEXEC.BAT
CD \WINDOWS\SYSTEM
WDEB98 /b /c:1 /r=9600 ..\WIN.COM
/b will cause the debugger to break when VMM32 starts, this gives a good
opportunity to load other symbols (NDIS) and set break points
/c and /r select the com port and its rate.
..\WIN.COM causes Windows to be executed
--Copy RTERM98.EXE to your development machine
--Connect the two via a NULL-modem serial cable.
--Run RTERM98 on your development machine
--Make sure you set the com port and baud rate correctly via the approprate
menu option.
--RTERM98 may ask you for a remote name, just make up something.
You're done. When the test machine starts up, it will break into the
debugger (because of the /b switch). Just type g (go) and Enter. You can
type ? for more information. This, with the debug output that VxdLdr.VxD
will emit may help you resolve your problem. Documentation for the
debugger can be found in the Windows 98 DDK in the Help folder. Launch
Other.Chm and expand Related Driver Documentation\Windows 95
Documentation\Programmer’s Guide\WDEB386 System Debugger (WDEB98/RTERM98
was known as WDEB386/RTERM386 in the 95 documentation) -- but you probably
won't need it as your purpose is just to look at the debug spew for right
now.
HTH,
Bryan
- Posted by Adam Hart on July 8th, 2003
- Posted by bluekarthik@yahoo.com on December 11th, 2004
Hi friends,
The discussion was good but i have some problems
more or less related to this. Expecting ur reply and support.
My RTERM98 does not get loaded/executed
in Win XP. It hangs and reports
'Debug/Send Error Report for Bug' in Win XP.
what are the tools other than RTERM98 that
i can use in WinXp to overcome the problem ?
Do kindly tell me, if TeraTerm Can be used .
if so, do give me some good tips and links.
Thanx and Regards,
karthik bala guru