by Jeff Handley via Jeff Handley on 8/8/2009 2:44:39 AM
Awhile back, I blogged about how Silverlight uses Validation Exceptions, which can cause the debugger to break. I showed how to prevent that from happening, but the solution was less than ideal.
Someone named rlodina commented on the post:
What about manual adding: System.ComponentModel.DataAnnotation.ValidationException in this list.
This comment has been sitting in my inbox for about a week, and I had wanted to follow up on this. Well good gosh, this is easy and it works like a charm. You can in fact tell VS to only ignore ValidationException instances, while still breaking on everything else. Here’s how.
This lets you keep all of the other exceptions turned on, but Visual Studio will no longer break when Silverlight hits a ValidationException. Like I said, it works like a charm. Thanks rlodina! :-)
Original Post: Not Breaking on ValidationException (take 2)
The content of the postings is owned by the respective author. Silverlight Feeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on Silverlight Feeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.