On Linux and Solaris, beginning with v5.04 of WinDriver you can run the graphical Debug Monitor utility - wddebug_gui - by simply running wddebug_gui from the WinDriver/util directory.
Please refer to Technical Document #12 for more information regarding this utility.
For Windows CE and in previous versions of WinDriver for Linux and Solaris (or if you do not wish to use the graphical Debug Monitor on these OSs), you can use the wddebug utility, from the WinDriver/util directory, by following these steps:
- After installing WinDriver, change directory to the WinDriver/util directory.
- Run: wddebug [stat] [level] [sections]
(See clarifications below regarding wddebug's parameters).
This program sets WinDriver's debug mode to On or Off.
- Windows CE users: run the program from inside a command window.
wddebug usage:
wddebug [stat] [level] [sections] :
- stat:
on : Turns on the debug mode.
off : Turns off the debug mode.
dump: Continuously displays debug messages.
- level: ERROR, WARN, INFO, TRACE
- sections : ALL, IO, MEM, INT, PCI, PCMCIA, ISAPNP, DMA, KER_PLUG, MISC, LICENSE, CARD_REG, ISAPNP, PCMCIA, KER_PLUG, KER_DRV
Usage examples:
wddebug on TRACE ALL -> turns debug monitor on for all sections.
wddebug dump -> dumps the debug messages continuously, until you hit ENTER.
wddebug off -> turns off the Debug Monitor for all sections.
wddebug -> shows the usage help text of wddebug.
Useful footnote:
When the Debugger is On, it displays the Debugger's version, the driver's build date and basic OS information.
Back to Top
|