Reputation: 11754
I'm using the CodePlex library NCalc and I'm getting the exception:
Antlr.Runtime.NoViableAltException
I expected an exception because I know my expression is not valid but I wonder where does that exception come from and how to mark it as "not break" in the "Exception" window of "Debug" menu. But I still want to break on all other exception.
Thanks, Eric
Upvotes: 1
Views: 949
Reputation: 99859
These exceptions are thrown by the ANTLR Runtime Library when it detects an error in the input.
If you install the ANTLR Language Support extension for Visual Studio, it will add the ANTLR-specific exception types to the Exceptions... dialog, and you can configure them as you would configure any others.
Upvotes: 1