After installing Visual Studio 2005 on my computer I have problem in JIT debugging. For example, program has the following bug:
int* p = NULL;
*p = 0;
When program runs in standalone mode, it shows exception dialog with Debug and Close buttons. If I press Debug, Visual Studio debugger doesn't start and program terminates.
Additional information:
XP Professional
VS 98 and VS 2005 installed
Jist-In-Time Debugging is enabled in Visual Studio 2005 (Managed, Native and Script are checked).
Registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug
Auto 0
Debugger "C:\WINDOWS\system32\vsjitdebugger.exe" -p %ld -e %ld
UserDebuggerHotKey 0
This happens only on one computer, other computers with same OS and VS versions are OK.

JIT Debugging problem in VC++ 2005
ABOH
That just tells you to make sure that all previous versions of visual studio 2005 are uninstalled. Beta 1, Beta 2 and the release candidate were publically available so users could have them installed. This is telling the user that upgrades or overwrites from previous versions are not supported.
Anyway, can you attach the ide to a process yourself to debug.
msorrent
I can think about some workaround like defining VC++ 6.0 as default debugger, but is there solution for 2005 debugger
James Terwilliger
Mochiwala
woolybutt
Simon_-_Yang
Alex, did you ever figure out the problem
I am having a similar problem with my JIT installation, see
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=594772&SiteID=1
Thanks!
JMarkHowell
1. An unhandled win32 exception occurred in Test.exe [3208]. Just-In-Time debugging this exception failed with the following error: The remote procedure call failed.
Check the documentation index for 'Just-in-time debugging, errors' for more information.
Data:
0000: be 06 07 80
2. Faulting application test.exe, version 0.0.0.0, faulting module test.exe, version 0.0.0.0, fault address 0x00011388.
EWoodruff
"C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\msdev.exe" -p %ld -e %ld
VC++ 6.0 debugger successfully starts. But vsjitdebugger.exe doesn't work.
aydinserkan
http://msdn.microsoft.com/vstudio/express/visualc/download/
yonderstar
thenujay
For future reference, I have two workarounds. For somebody who works only with unmanaged code, it is possible to set VC++ 6.0 as active debugger, as described in one of my previous posts.
To activate VS 2005 JIT debugger when program reports exception, it is possible to attach to this process from VS 2005, and after this press Debug in the exception dialog. Not perfect, but I can live with this.
JonasSam
From the event log, this looks like RPC is not working correctly on your computer:
An unhandled win32 exception occurred in Test.exe [3208]. Just-In-Time debugging this exception failed with the following error: The remote procedure call failed.
That error is the system error RPC_S_CALL_FAILED. Do you have any RPC related services disabled on your computer