Debugging Programs For Windows

  1. How to debug Windows services. Content provided by Microsoft. Program Files Debugging Tools for Windows. Run the gflags.exe file to start the Global Flags Editor. In the Image File Name text box, type the image name of the process that hosts the service that you want to debug. For example, if you want to debug a service that is hosted by a.
  2. First, you need to compile your programs with the Windows GNU ABI Rust installation. The MSVC ABI uses a different debugging format than the one GDB understands, so that won't work. MSVC ABI compiled programs would have to debugged with Visual Studio (or possibly LLDB, in the future). Second step is to get GDB itself.
  1. Debugging Tool For Windows 10
  2. Microsoft Debugging Tool For Windows 7
Active6 months ago

USB Debugging for Windows - Download Latest version (1.10.4) of USB Debugging for PC Windows 10,8,7 32-bit and 64-bit directly from this site for free now.

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)

Glorfindel
17.5k11 gold badges54 silver badges75 bronze badges
MaxMax
4,9323 gold badges34 silver badges52 bronze badges

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

Max

Debugging Tool For Windows 10

ProgramsMax
4,9323 gold badges34 silver badges52 bronze badges

I don't have a Windows 7 installation, so I can't say if there is another mechanism at work, but the obvious answer is to check if Just In Time debugging is turned on in VS (Tools/Options/Debugging/Just In Time).

cdonnercdonnerDebugging

Microsoft Debugging Tool For Windows 7

26k19 gold badges89 silver badges144 bronze badges

Not the answer you're looking for? Browse other questions tagged .netwindows-7 or ask your own question.