?
Solved

Delphi 5 integrated debugger gone

Posted on 2007-11-21
4
Medium Priority
?
1,498 Views
Last Modified: 2010-08-05
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?
0
Comment
Question by:Softtech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 19

Assisted Solution

by:MerijnB
MerijnB earned 100 total points
ID: 20331639
The JIT debugger has nothing to do with the integrated debugger in Delphi.
JIT is only used when an application crashes, then you can press a 'debug' button, and the executable is 'loaded' in to delphi so you can try to debug it, not really usefull.

So your problem has another cause, is optimization off?
0
 

Author Comment

by:Softtech
ID: 20331943
>> is optimization off?

No.  I have the Optimization check mark checked on.
0
 
LVL 17

Accepted Solution

by:
TheRealLoki earned 200 total points
ID: 20332068
Start "RegEdit.exe" and check this section of the registry

HKEY_CURRENT_USER\Software\Borland\Delphi\5.0\Debugging
     DontPromptForJITDebugger
     Integrated Debugging

valid values for these are 1 or 0

Make sure Delphi 5 is not running, try changing these
then restart Delphi 5
You should be able to set it so it asks you to pick a debugger again like it used to do...
Be careful when messing with the registry.. I'm sure you're aware of how bad it would be to change/delete the wrong thing :-)

0
 
LVL 17

Expert Comment

by:TheRealLoki
ID: 20332073
oh, and the actual path to the debugger is stored here :-

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

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question