C# Final testing before beta release. Exception breakpoints… any useful ones we should test for? [closed]

StackOverflow https://stackoverflow.com/questions/12549315

Question

In the final stages of development and testing before an initial beta release. As part of final stage testing I would like to debug using breakpoints on exceptions and would like to know if any other programmers can recommend some exceptions to enable, and why?

Here are just a few that would be suitable for this exercise...

System.ArgumentNullException
System.ArgumentOutOfRangeException
System.NotEnoughCommentsInMethodException
System.NullReferenceException

App is C#, Winforms, Firebird DB, NHibernate, .NET 4.0

Looking forward to some input!

Was it helpful?

Solution

All of them

If your application is throwing any exceptions whatsoever, you want to be aware of it.

Sometimes, there will be exceptions which are expected; if you come across them you should uncheck them to reduce noise.
However, you should also try to eliminate those (where possible); exceptions should be reserved for exceptional situations.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top