Turning Off ValidationException For Silverlight Debugging in Visual Studio

Silverlight have this annoying habits of throwing exception when it encounter validation errors. This, combined with silverlight’s tendency to throw the White Screen of Death on unhandled exception could make debugging in Silverlight really stressful.

Here’s a step by step guide on how to turn of validation exception (or, actually, any specific exception) in Visual Studio:

1. Go to Debug-Exceptions or press Ctrl+D, E

2. Expand the “Common Language Runtime Exception” tree.

3. Ticked off  the “Thrown” and “UserUnhandled” on the System.ComponentModel.DataAnnotation checkbox.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: