Home splitter Blog splitter How to Disable Just-In-Time Debugging

How to Disable Just-In-Time Debugging

June 24, 2008 1:25pm by J.T. Kennedy

Disabling just-in-time debugging is sometimes required if you have PowerBuilder installed on the same machine as Visual Studio. PowerBuilder does not like just-in-time debugging and will throw PB100 errors causing PowerBuilder to crash and lose your work too. This can make development in PowerBuilder difficult and frustrating. Luckily, this can be fixed by disabling just-in-time debugging.

Modify Registry

  • Click "Start", "Run"
  • Enter "regedit" and click "Ok"
  • Navigate and delete the following registry keys:
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger

Visual Studio Settings

  • Open Visual Studio 2005 or 2008
  • Go to "Tools", "Options"
  • Expand "Debugging" and click on "Just-In-Time"
  • Uncheck "Managed", "Native" and "Script"
  • Click "Ok"


J.T. Kennedy is a Senior Software Architect/Developer and President/CEO of 2wisemen inc.

sitemap | directory | terms of use | privacy statement
copyright © 2008 2wisemen inc. All rights reserved.

W3C Validated XHTML 1.0 Transitional W3C Validated CSS!