Registering BDS 2006 / Delphi 2006 / C++Builder 2006 / Delphi 2007 / C++Builder 2007 as the JIT Debugger

Abstract: Shows how to register Delphi 2006 / C++Builder 2006 / Delphi 2007 / C++Builder 2007 as the JIT Debugger


  • Product Name: Borland Developer Studio 2006, Borland C++Builder 2006, Borland Delphi 2006, CodeGear Delphi 2007, CodeGear C++Builder 2007
  • Product Component: Debugger
  • Platform/OS Version: Supported platforms
  • Personality: Win32 personalities only

Description:

This article shows how to register the above products as the JIT Debugger.

Resolution:

To register the above products as the Just-In-Time Debugger,

  1. Navigate to the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\AeDebug registry key. 
  2. Add a string named Debugger with the following data
Product Data
BDS 2006 / C++Builder 2006 / Delphi 2006 "C:\Program Files\Borland\BDS\4.0\bin\bds.exe" /attach:%ld;%ld
CodeGear RAD Studio / C++Builder 2007 / Delphi 2007 "C:\Program Files\CodeGear\RAD Studio\5.0\bin\bds.exe" /attach:%ld;%ld

Note that the above are one-time installation instructions. You do not need to do this every time, unless the data in the Debugger string has been replaced by some other JIT Debugger.

The image below shows a sample setting.

Hide image
Click to see full-sized image


Author: Chee Wee Chua