Switch Between Visual C++ 6 Debugger And .NET (7) Debugger
Date: 17/3/2005
If you have both Visual C++ 6 and .NET installed, and you want to switch between the (just in time) debuggers you can by fiddling the value of the "Debugger" key in:
HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\AeDebug
The setting for VC6:
"C:\\Program Files\\Microsoft Visual Studio\\Common\\MSDev98\\Bin\\msdev.exe" -p %ld -e %ld
And for VC7:
"C:\\Program Files\\Common Files\\Microsoft Shared\\VS7Debug\\vs7jit.exe" -p %ld -e %ld
Obviously adjusting paths as necessary.

And if the .NET debugger is giving you the "Registered JIT debugger is not available." finger then you could try the following:

  • Go to: Settings >> Control Panel >> Administrative Tools >> Microsoft .NET Framework 1.1 Configuration
  • The .NET 1.1 Configuration module will appear. Click on the "Runtime Security Policy" folder on the left hand side of the screen.
  • Click on the "Adjust Security Zone" link in the body of the screen.
  • Click "Next."
  • Click the "Local Intranet" security button (since our application is distributed through the company intranet.)
  • Adjusted the security to "FULL."
  • -and/or-
    Start -> Run:
    "C:\\Program Files\\Common Files\\Microsoft Shared\\VS7Debug\\vs7jit.exe" /RegServer
    (This is just documenting the fix for Google to index... move along now.)
    Email (optional): (Will be HTML encoded to evade harvesting)
    Remember username and/or email in a cookie.
    Notify me of new posts in this thread via email.