Re: Where do you go after FinalRelease?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Dave <dave5398@xxxxxxxxxxxxxx> wrote:
"Alexander Nickolov" <agnickolov@xxxxxxxx> wrote in message
news:uik4U1S0GHA.772@xxxxxxxxxxxxxxxxxxxxxxx
Your destructor executes right after FinalRelease. It in turn
invokes the destructors of all member variables and base
classes.

Set the exception for Access Violation to break into the
debugger when thrown. This will give you the exact place
where the exception occurs.

Alexander, not sure how to do that. I am using a VB front end so I
use VB as the debugging programme.

You can run VB IDE itself under VC's debugger.

When I get an exception it goes
into the window with assembler which means nothing to me then it
tells me that VB has no debgging information so I am none the wiser.

Look at the call stack when you are dropped into the debugger. If you
are lucky, your DLL's code is somewhere on the stack.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.



Relevant Pages

  • Re: Implementing Exception Handling in a VM
    ... Why does a debugger require to walk the stack twice? ... Delphi) to only pop up the debugger if the exception isn't caught deeper ... MP> EXCEPTION_REGISTRATION structures until it finds a handler for the ...
    (comp.compilers)
  • Re: You wanted defensive writing...
    ... Couldn't you have set the debugger to break on all exceptions? ... > I've created an application that loads Caudill's TreeListView as its ... > I commented the line that called the insertion on start-up, ... > The exception caught me unaware, ...
    (microsoft.public.dotnet.csharp.general)
  • Re: You wanted defensive writing...
    ... Couldn't you have set the debugger to break on all exceptions? ... > I've created an application that loads Caudill's TreeListView as its ... > I commented the line that called the insertion on start-up, ... > The exception caught me unaware, ...
    (microsoft.public.dotnet.general)
  • Re: Implementing Exception Handling in a VM
    ... but it basically involves walking up the call stack. ... If you don't need the debugger ... IMO a pre-search for an exception handler is required only, ...
    (comp.compilers)
  • Re: Problem with KITL?
    ... > Enable kernel debugger ... This OK if KdStub stumbling on its own BP. ... Exception in debugger, Addr=0x801AB864 - attempting to recover ...
    (microsoft.public.windowsce.platbuilder)