Maybe this is relevant to you?

  
http://stackoverflow.com/questions/36014/why-is-net-exception-not-caught-by-try-catch-block

Look at the "just my code" debugger option in VS.

Pat

On May 17, 2011, at 2:00 PM, Dilip Ranganathan wrote:

> Hi
> 
> I have been banging my head with Sam Harwell's Antlr C# port since morning.
> 
> SO far I have managed to integrate grammar compilation with Visual Studio
> 2010 following the instructions on this page:
> http://www.antlr.org/wiki/display/ANTLR3/Antlr3CSharpReleases
> 
> However I am stuck with something for the moment. A simple test driver
> program I wrote to test the generated lexer/parser doesn't report any kind
> of error when I pass invalid input. That is, the generated parser code is
> eating the exception and the output window only shows that a few first
> chance exceptions were generated. Now I added these exceptions to
> Debug->Exceptions list in VS 2010 (under CLR) and that way I was able to
> make the debugger break into the offending code but I can't believe this is
> the way to do it? Shouldn't I be seeing something on the console or at least
> as an exception I must be able to catch and display exactly what was wrong
> with my input?
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: 
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
> 


Pat


List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to