Link to home
Start Free TrialLog in
Avatar of Softtech
Softtech

asked on

Delphi 5 integrated debugger gone

I recently installed Delphi 6 for the first time on my PC, which had Delphi 5, 4, 3, and Delphi 1 installed on it.  Delphi 5 has always been a pain in the @!@ when it came to integrated debugging.  Half the time D5 would spit out a message regarding a Borland debug .DLL and would leave the project's EXE stuck in memory, unable to be terminated.  So when I found a copy of Delphi 6 recently, I thought to myself that it's time to give D5 the heave-ho.  But now, with D6 installed, every time I start D6 or D5, I get a message warning me 'You Just in Time Debugger is currently set to 'c:\program files\borland\delphi5\bin\bordbg50.exe' -aeargs %ld %ld'. In order for JIT Debugging feature to work correctly, it needs to be changed to..."

If I answer YES, then I get a variant of this message when I load Delphi 5.  Then when I answer YES when loading D5, I will then get the message the next time I load D6.  And on, and on.  Obviously Delphi can't keep their versions and debugger settings straight and isolated from each other.  Getting fed up with the messages, I ended up 'ticking' the "don't ask me again" option when loading Delphi 5, and I answered "NO" to the prompt about changing the debugger.   Problem is, now, I can't line by line debug in Delphi 5.  When I compile my code in Delphi 5, I no longer get those tiny dots in the left margin of the IDE.  And yes, the "Integrated debugger" check mark is ON in the Debug options menu.

How do I get back my Delphi 5 IDE debugging?

And isn't there a way to have D5 and D6 live together in harmony without going through the silly prompt every time I load each?
SOLUTION
Avatar of MerijnB
MerijnB
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Softtech
Softtech

ASKER

>> is optimization off?

No.  I have the Optimization check mark checked on.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
oh, and the actual path to the debugger is stored here :-

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AeDebug
        Debugger