Exceptions problems

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!
 
J

Jon Skeet [C# MVP]

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
 
Q

qglyirnyfgfo

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top