DebugView gets a buffer full of messages before it displays them so yes
there is lag by design. You should be debugging with 2 machines or 2
virtual machines and Windbg. If you use the WinDBG GUI interface it is
or from the watch window.
Post by Skybuck FlyingI took all the necessary steps as described by some tutorials... the mostly
describe how to connect and set things up and that's it.
What I don't understand is that it appears there is some lag before the
messages arrive at the debugview ?
And sometimes it doesn't seem to work...
But that might be because of buggy driver or maybe not ?
Do you have any experience with it ?
What would be a better way to debug a driver ?
Can you give an example of how to look at a variable ?
Or how to set a breakpoint at some driver source line ?
I guess you mean source-debugging and this would require a correct source
setup with windbg ? ;)
Bye,
Skybuck.
Post by Don BurnYou might have read the documentation before complaining as many times as
you did. To use Windbg to get the messages you need two things. First
it must be a remote debugger, using two machines connected by serial,
1394 or (rarely USB). Second you have to enable the debug messages since
they are disabled by default. See
http://www.osronline.com/article.cfm?id=295 for a good explanation of how
to do this.
Note: you need to do this for DebugView also which will work on a single
machine, but debugging a driver that way is really a poor idea, since you
will have no breakpoints nor the ability to look at variables, etc. Get
two machines and do it right.
--
Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply
Post by Skybuck FlyingHello,
WinDbg is connected to Windows 7 RTM x64 Ultimate (running in debug mode).
WinDbg says to press g and enter and so forth.
Now I want to see the dbgprint messages of the netvmini driver ?!?
"Break"
and
"!dbgprint"
And that was it ?!?
Is it possible to make some kind of recording ?
I understand there could be many many many of these messages ?
How do I proceed ?
Bye,
Skybuck.
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4319 (20090809) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4319 (20090809) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4320 (20090809) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4320 (20090809) __________
The message was checked by ESET NOD32 Antivirus.