ntsd -g -G -loga C:\Temp\mspaint.log mspaint.exe[/code]
This will change to the directory for MS Paint, set up your symbol path to point at the Microsoft public symbol server, and then run the built-in NT symbolic debugger running mspaint.exe, logging to C:\Temp\mspaint.log.
When you're done, attach the log file.
Sigh...
'ntsd' is not recognized as an internal or external command, operable program or batch file.From a
website about debugging with NTSD: "Unfortunately Vista seems to lack support for this utility."

tanstaafl.