Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to set Delphi as the 'Just In Time' (JIT) debugger

1,750 views
Skip to first unread message

Helmut Giese

unread,
Feb 14, 2007, 4:08:12 PM2/14/07
to
Hello out there,
I installed Delphi 5 on a new XP system under an admin account. During
installation I got - as usual - informed that Delphi was not the
system (?) / JIT (?) debugger and confirmed that it should be
configured as such.
When launching Delphi (still under the same admin account) the same
message appeared: 'Delphi is not currently your ... debugger'. I then
clicked again 'register as ...'

1) This is a bit curious: It should have been set during installation,
shouldn't it?
2) Later, a Delphi program which was launched from the command line
crashed. At this point it should have been possible to launch Delphi
and go to the point of the error - but nothing happened..

What can I do to let Delphi be the JIT debugger? I need it because
there is no use in starting the crashing program from within Delphi:
It gets called 50 to 60 times and then all of a sudden produces an AV.

So that's just the scenario the JIT debugging concept was invented for
- but how to get it to work?
Any link or advice will be greatly appreciated.
Best regards
Helmut Giese

Ralf Jansen

unread,
Feb 14, 2007, 4:47:00 PM2/14/07
to
Lookup the debugger key in the registry. Is it set correct? Do you have
bordbg50.exe(i assume its called that way in D5) on your machine?


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug]
Debugger="F:\Programme\Borland\Delphi7\Bin\bordbg70.exe" -aeargs %ld %ld

--
Ralf Jansen

deepinvent Software GmbH - Viersen, Germany - http://www.deepinvent.com
Blog: http://blog.mailstore.com/
Archiving E-mails with MailStore: http://www.mailstore.com


Helmut Giese

unread,
Feb 15, 2007, 5:16:58 PM2/15/07
to
On Wed, 14 Feb 2007 22:47:00 +0100, Ralf Jansen
<ralf.jans...@deepinvent.com> wrote:

>Lookup the debugger key in the registry. Is it set correct? Do you have
>bordbg50.exe(i assume its called that way in D5) on your machine?
>
>
>[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug]
>Debugger="F:\Programme\Borland\Delphi7\Bin\bordbg70.exe" -aeargs %ld %ld

Hi Ralf,
thank you for looking this up - it looks very promising.
Sorry for the delay - today unrolled a bit differently than planned,
and I haven't even been at the site in question.
I hope that I can test it out tomorrow.
Thanks again and best regards
Helmut Giese

0 new messages