Re: C# projects debugger weird



Hi!

I'm sorry for not replying to your follow-up question. The problem was a
misconfiguration by me in VS.

Thanks for your answer.

// Johan

"Oleg Starodumov" <com-dot-debuginfo-at-oleg> wrote in message
news:ehQulPGQHHA.4244@xxxxxxxxxxxxxxxxxxxxxxx

I have a C# project that runs in debug mode. If I set a breakpoint, the
debugger breaks just fine. But if the code encounterns an exception I get
an
Win32 Exception and the code just stops. The problem is that is doesn't
break at the exception and doesn't print out the correct exception
message.


What happens if you configure the debugger to break on first chance
exceptions (Debug | Exceptions dialog)? Will the exceptions be caught?
Which ones? What will be on the call stack when they are caught?

--
Oleg
[VC++ MVP http://www.debuginfo.com/]





.



Relevant Pages

  • Re: C# projects debugger weird
    ... debugger breaks just fine. ... But if the code encounterns an exception I get an ... Win32 Exception and the code just stops. ...
    (microsoft.public.vsnet.debugging)
  • C# projects debugger weird
    ... debugger breaks just fine. ... But if the code encounterns an exception I get an ... Win32 Exception and the code just stops. ... the following code raises an Win32 Exception, ...
    (microsoft.public.vsnet.debugging)
  • Re: second chance exception in comctl.dll or ???
    ... What will be on the call stack when the debugger breaks on the first chance ... [VC++ MVP http://www.debuginfo.com/] ...
    (microsoft.public.vc.debugger)
  • Re: strange problem with def in class
    ... Johan wrote: ... > interpreter throws an exception of unknown function ...
    (comp.lang.python)

Loading