Exceptions take very long

Hi,
     Every time my application rises an exception,  it takes ages until I get the message on screen, even if catch it in a try/catch block. My computer hooks until I get this message. I don't have this problem while tracing the application step by step (if I do so, it rises instantly). Any clue

Thanks a lot.



Answer this question

Exceptions take very long

  • James Moore - Visionspring

    There probably isn't much you can do for this. There is a lot of information that needs to be gathered up in order to create the Exception object. The speed (or lack thereof) is one of the main reason that current development 'best practices' (or guidance, if you prefer) says that you should *never* use exceptions to control programming logic.

  • Exceptions take very long