First exception very slow when debugging
-
My application uses a 3rd party component to do serial comms. As part of the initialisation routines of this component it generates an exception. If I am debugging then this exception takes ages to be caught. The release version takes no time at all. Why does the first exception take so long, and is there anything I can do about it?
-
My application uses a 3rd party component to do serial comms. As part of the initialisation routines of this component it generates an exception. If I am debugging then this exception takes ages to be caught. The release version takes no time at all. Why does the first exception take so long, and is there anything I can do about it?
I would run this by the Visual Studio team in the MSDN forums. Most likely it is due to some COM-related issue, possibly attempting to be caught by a managed debugging assistant. Have you tried turning off MDAs temporarily to see if that affects it at all?
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Dumbest. Movie. Title. Evaaar. The apostle Paul, modernly speaking: Epistles of Paul Judah Himango