Debugging XMAL Parser Exceptions

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: ,,
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Print | posted on Thursday, April 23, 2009 4:53 PM

Feedback

# re: Debugging XMAL Parser Exceptions

Left by Max at 6/24/2009 6:30 PM
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.

Your comment:





 
 

Copyright © Kirstin Juhl

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski