Archived

This topic is now archived and is closed to further replies.

Kylotan

Just in time debugging question

Recommended Posts

I have MSVC6 and Borland C++ Builder 4 installed. I didn''t ask Borland to do this, but it changed my system so that the just-in-time debugging now uses its poxy excuse for a debugger rather than the one in Visual C++. I''d like to change this back, but can''t find a way of doing so in the options. Does anybody have any hints?

Share this post


Link to post
Share on other sites
From Jeff Richter''s book:

"Internally, UnhandledExceptionFilter invokes the debugger by looking into the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\NT\CurrentVersion\AeDebug
Inside this subkey, there is a data value named "Debugger", which is typically set to the following value when you install Visual Studio:
...\msdev.exe -p %ld -e %ld

WINDOWS 98: These values are stored in the Win.ini file."

Share this post


Link to post
Share on other sites
Hmm...Reinstalling MSVc wouldn''t work... I guess the only thing left to do is remove Borland...

That is, unless a Borland guru has a better solution for you.

Share this post


Link to post
Share on other sites
Duh. Although MSVC only writes its settings to WIN.INI under Win9x, it is happy to read the setting from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\NT\CurrentVersion\AeDebug under Win9x. And that is exactly where Borland had changed things.

See here for the Knowledge Base article.

Share this post


Link to post
Share on other sites