On Thu, 31 Mar 2005, Pouech Eric DMI AEI CAEN wrote:
use regedit at the beginning of your script to set the AeDebug key to a "" string (and you should have saved the key value before), and restore it at the end of your script
Alternately you could add the '--auto' option and winedbg should then run in non-interactive mode. This will also cause it to dump a stack trace which is nice for later debugging if you save the output somewhere.
[Software\Microsoft\Windows NT\CurrentVersion\AeDebug] "Auto"="1" "Debugger"="winedbg.exe --auto %ld %ld"