Re: Where do you go after FinalRelease?




"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. 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. What do I need to do to
pinpoint the exception as I clearly am not getting the most out of the
debugger.

Dave


.



Relevant Pages

  • 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: 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)
  • Re: VS2005 major development bug
    ... Either the exception is thrown directly, when I try to step into the code, or if I switch to native debugging mode, the debugger stops somewhere in Heap Free. ... When the breakpoint in the code stops at the 'pimpl -> Initializevalidatorline' why can you not open the Disassembly window and step through the code there? ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Debugging Woes
    ... normal exception message. ... > It now breaks to the Debugger if an error occurs, but it does it even if ... > Handling stuff, the debugger looses track of it, and it gets thrown in the ... >> louis at no spam dot louismarascio dot com ...
    (microsoft.public.dotnet.languages.csharp)

Loading