AND enable WDF Verifier
I enabled WDF Verifier (assuming that’s the same as WDF Test Features Control Panel). I enabled VerifierOn, DbgBreakOnError, VerifyOn, and VerboseOn for my driver. I also enabled VerboseOn for IddCx.dll.
…And WDF KD Verbose logging
On the WDF Verifier Settings tab, I set Tracing level: to Verbose Output (All Events of Any Sort)
I spent about a day fussing with this, because it was in a loop bringing up copy after copy of WinDbg on the test system when I was trying to debug remotely.
…And Windows Driver Verifier
I spent another day fussing with this. I didn’t realize this was a KM-driver-only utility, so instead of pointing it at my UMDF driver, I went with the defaults. I’m doing initial testing on a Virtual Box VM, and I kept getting bugchecks in vbox drivers. Using the command-line in the Windows recovery menu, I tried fine-tuning the verifier
settings to exclude the driver or not perform some test.
After lots of cycles with no luck, I realized that nothing I did on the command line (including resetting settings) was having any effect after rebooting (maybe something to do with VirtualBox). I had to do a VM restore to get out of the loop. Using the UI, I can successfully change verifier settings, but even excluding all of the non-Microsoft (e.g. VBox) drivers, I still get hung up on some Bug Check in an MS driver with VBox*.sys somewhere in the stack trace. Maybe the idea was to exclusively verify WUDFRd.sys?
Without Driver Verifier, I was still able to get additional, combined trace output from my driver. Unfortunately, everything from IddCx looked normal, and there weren’t any trace messages (besides my own) in the section of interest (between the driver callback, the event callbacks and the error return).
I am trying to follow your recommendations. I didn’t list out all the steps earlier, because I didn’t want to flood you with a wall 'o text. If I’m not on the intended path, it may be due to the fact that I’m swimming in uncertainty on a number of points…