I left a program running last night, it worked fine for about 5 hours and then one of its built-in self-diagnostic tests detected a problem and brought up a dialog box telling me the issue. The program was built with debug information (/Zi). Is it possible to somehow get the debugger started so I can examine the value of some variables within the program? Or is it too late?
Share
You can attach the debugger to the running process:
Debug > Attach to Process…
Just open up the program’s solution first.
Assuming you’ve still got the error dialog on the screen you can break into the program and work back up the call stack examining variables etc.