I noticed that in Windows 7, unlike XP, if a program crashes that I am debugging in Visual Studio 2008, I don't get the option to Debug the program. Rather, it just says that the program crashed and Microsoft is looking for a solution.
Right now, if my program throws an exception, I can't return back to the debugging session in VS 2008, the program just quits. Is there a way around this?
EDIT: Here is what the old debug window looked like in XP, but I can't get this in Win7 and can't debug my program now:
(source: scalemax.com)
You can use the Windows debuggers (WinDbg, CDB, and NTSD) to debug Windows apps. Use the PLMDebug tool to take control of suspending, resuming, and terminating a Windows app while you are debugging. To debug a managed-code Windows app, load the SOS debugging extension (sos.
I see that if you click to send the error to MS, it finally gives you a Debug option.
Also, if you go into Control Panel->Action Center->Change Action Center Settings->Problem Report Settings and change the radio selection to "Each time a problem occurs, ask me before checking for solutions" you get the Debug option right away.
One big issue I notice is that it won't debug with the debugger that is already attached. It makes you create a new debugger instance in VS 2008 and then complains there is already a debugger attached...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With