Re: Debugging VC6 DLL with a Delphi application

From: Oleg Starodumov (oleg_staro_at_hotmail.com)
Date: 03/10/04


Date: Wed, 10 Mar 2004 15:39:22 +0200


If Delphi handles exceptions in DLLs, try to break into debugger
on first chance exceptions. In Debug | Exceptions... dialog, select
"Access violation" and "Stop always".

Note that it can cause the debugger to stop often, and you will have
to distinguish between "interesting" and "not interesting" exceptions.

It is also possible that Delphi has a setting that asks it to pass exceptions
to debugger, but I don't know it.

Regards,
Oleg



Relevant Pages

  • Re: how can I create minidumps of second chance exceptions in .NET 1.1 managed code?
    ... Using the configuration like you suggested sends the exception to the JIT debugger which is registered in a system-wide manner, and I don't want to register there. ... ADPlus is usually good in catching 2nd chance managed exceptions." ...
    (microsoft.public.vsnet.debugging)
  • RE: Disabling exception trace messages
    ... a tick comparison shows the following: ... Outside debugger: ... > Can you tell me why this now takes so much longer than VC6? ... >> break on a given type of exception or on a category of exceptions. ...
    (microsoft.public.vc.debugger)
  • Re: Step by Step skips large chunks of code
    ... Do your threads throw exceptions, ... the debugger will automatically break it when an exception is thrown. ... You can send feedback directly to my manager at: ... Added SP1, the debugger started skipping within threads. ...
    (microsoft.public.vsnet.debugging)
  • Re: Mixed assembly crashes on exit
    ... (when running the app under debugger, watch also for unexpected first chance ... exceptions in Debug Output window, or configure the debugger to stop ... Also try to set breakpoint in SingletoneDomainUnload function and step ... how does the disassembly around the place of crash look? ...
    (microsoft.public.vsnet.debugging)
  • Re: Try - Except problem
    ... >> I have just bought a new computer and try to transfer my Delphi ... >> I get the error message ... >> Debugger Exception Notification ... > The debugger will stop on all exceptions even if you are using exception ...
    (borland.public.delphi.language.objectpascal)