Application slows when exception handling.

  • Thread starter Thread starter FU.U.NA
  • Start date Start date
F

FU.U.NA

Hi.

I have a quenstion about exception handling.
I'm using exception/try structure for my internal logic.
(cause this is very useful and clean than pre-checking)

But mt application stops temporarly when an exception first thrown.
More strange thing is after second time, it does not stops more.

I want to prevent this stopping problem.
Cause it does not stops anymore after second exception, I think there
is a way to prevent stopping.

Even it does not stops in release mode, I need to know surely why it
stops.

Any informations, links, keywords or full descriptions are welcome.
 
Hi,

What does "stops" actually mean?
How do you handle try block?
 
Hi,

(Miha - Sorry to reply to your post, but this is the only visible post in my
news reader)

If I understand what is being said here, I believe the delay that is noticed
is due to the application being executed from the development environment
VS.NET using Debug>Start. If this is the case, you will notice that this
delay is due to the debugger and will not be there if the application is
executed outside of VS.NET or with the Debug>Start Without Debugging. This
is the case even for a release build being executed under the debugger.

Hope this helps

Chris Taylor
 
My try block was normal try-catch type.
And Chris gave me right answer.
Thanks everybody.
 

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

Back
Top