Exceptions problems

  • Thread starter Thread starter csharpula csharp
  • Start date Start date
C

csharpula csharp

I am calling from gui to a method which has a try and catch regions and
the exception being catched by the catch is somehow appeares as
unhandled. How can it be? I see in debugger that it is unhandled
although it is being catched?

Thank u!
 
I am calling from gui to a method which has a try and catch regions and
the exception being catched by the catch is somehow appeares as
unhandled. How can it be? I see in debugger that it is unhandled
although it is being catched?

Hard to say without seeing code.

Could you post a short but complete example which demonstrates the
problem? See http://pobox.com/~skeet/csharp/complete.html for what I
mean by that.

Jon
 
Is this in debug mode (inside Visual Studio)?

If it is maybe you have Visual Studio set to throw the error no matter
what. Go to the main menu and select "Tools" > "Exceptions...", from
there click on the "Reset All" button and see if that fixes your
problem.
 
Back
Top