I’m trying to have Windows automatically start the debugger when an application is launched (as described in msdn) however I’m getting the following error:
The Visual Studio Just-In-Time Debugger was not notified that the application correctly started
A quick search found this person with the same problem where the suggestion was:
If you are running Vista or Win7 you need to run vsjitdebugger as an administrator or you will get that error.
I went to C:\Windows\System32\ and in the compatibility tab of vsjitdebugger.exe‘s properties I checked the Run this program as an administrator check box. Now I’m getting the following message
The requested operation requires elevation
Followed by
Can’t open this item
It might have been moved, renamed, or deleted. Do you want to remove this item?
I’m not sure if the fact that this is a 32 bit application on a 64 bit OS is relevant.
You should run your application as an administrator (don’t setup vsjitdebugger.exe to run as administrator). Then you will be prompted with the security warning and after that normal list with debuggers to choose from.
In my case I had to run as an administrator program which runs debugged program.