Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debug Program option in Windows 7

Tags:

.net

windows-7

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:

debug window
(source: scalemax.com)

like image 405
Max Avatar asked May 21 '09 00:05

Max


People also ask

How do I debug a Windows program?

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.


1 Answers

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...

like image 115
Max Avatar answered Oct 13 '22 23:10

Max