How to run the debugger automatically to debug 32-bit applications on Windows 7 64 bit?

I try to have Windows automatically start the debugger when the application starts (as described in msdn ), however I get the following error:

Visual Studio Just-In-Time Debugger was not notified that the application started correctly

A quick search for this person with the same problem where the following was suggested:

If you are using Vista or Win7, you need to run vsjitdebugger as administrator or you will get this error.

I went to C:\Windows\System32\ and on the compatibility tab of vsjitdebugger.exe properties I checked the Run this program as administrator checkbox. Now I get the following message

The requested operation requires an increase

Further

Unable to open this item.
It may have been moved, renamed or deleted. Do you want to delete this item?

I'm not sure if the fact that this is a 32-bit application on a 64-bit OS matters.

+6
source share
1 answer

You must run the application as an administrator (do not run vsjitdebugger.exe to run as administrator). You will then be presented with a security warning and after that a normal list with debuggers to choose from. In my case, I had to run an admin program that runs a debugging program.

+14
source

Source: https://habr.com/ru/post/892665/


All Articles