Geeks With Blogs
I [heart] code! .NET musings from the chick side

In Visual Studio click on Debug –> Exceptions, and when the dialog box appears click “Add”. Fill it in as below:

ParserException 

Be sure to check when “Thrown”. Now your code will break on the C# code where the error is thrown and you can find it more easily.

 

parserex2

 

 

Technorati Tags: ,,
Posted on Thursday, April 23, 2009 4:53 PM | Back to top


Comments on this post: Debugging XMAL Parser Exceptions

# re: Debugging XMAL Parser Exceptions
Requesting Gravatar...
Thanks for that. I just recently figured out you could break on pretty much any exception in VS 2008. I was having issues debugging on Windows 7 but adding more exceptions seemed to fix that.
Left by Max on Jun 24, 2009 6:30 PM

Your comment:
 (will show your gravatar)


Copyright © Kirstin Juhl | Powered by: GeeksWithBlogs.net