Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Prevent first-chance exceptions #557
There are still a few places in the Simple Injector code bases that swallow exceptions and continue. Newer versions of Visual Studio, however, show first chance exceptions by default in the debugger, and this behavior is quite hard to disable.
Because of this, it can lead to confusing situations, where users think there is a problem they need to fix, while everything is actually working fine.
Whenever possible, these first chance exceptions should be prevented.
There are four places in particular that swallor exceptions:
The first two, inside the
The last two, however, are the cases that should be fixed.
Problem with both the
These fixes can, therefore, only be made by changing