Top "First-chance-exception" questions

A first chance exception is an exception thrown and handled by running code.

What is a "first chance exception"?

What exactly is a first chance exception? How and where does it originate in a .NET program? And why is …

.net visual-studio debugging exception first-chance-exception
How do I enable Visual Studio 2010 to break when a first chance exception happens?

I was reading Stack Overflow question How can I set Visual Studio to show a stack trace for first chance …

visual-studio-2010 debugging first-chance-exception
C++ : How can I solve a first-chance exception caused at an unknown point?

A C++ project I'm working on terminates upon throwing a first-chance exception. This occurs in Visual Studio 2008 in Debug mode …

c++ visual-studio-2008 first-chance-exception
First chance System.Configuration.ConfigurationErrorsException "This element is not currently associated with any context"

Does anyone know what this particular exception mean and how to fix it? Note, that I am not asking for …

wcf first-chance-exception
A first chance exception of type 'System.Xml.XmlException' occurred in System.Xml.dll

When I start my application (it is a client which connect with WCF to a Service) I see in the …

c# wcf exception first-chance-exception xmlexception
WCF - Many many many first chance exceptions being thrown - then crashes App

I have a WPF application (Host) that is, among other things, self-hosting WCF with a number of ServiceHosts (an example …

wcf first-chance-exception
What does the System.ArgumentOutOfRangeException mean? (vb.net)

I am having the 'A first chance exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll' exception and it is …

vb.net first-chance-exception
A first chance exception occurred... and I don't know why

Whenever I try to debug my Windows Phone 7 C# app, I get the following message in the Output window: A …

c# debugging windows-phone-7 mscorlib first-chance-exception