Why is .NET exception not caught by try/catch block?

前端 未结 25 808
Happy的楠姐
Happy的楠姐 2020-12-04 19:24

I\'m working on a project using the ANTLR parser library for C#. I\'ve built a grammar to parse some text and it works well. However, when the parser comes across an illeg

25条回答
  •  孤街浪徒
    2020-12-04 19:47

    have you tried to print (Console.WriteLine()) the exception inside the catch clause, and not use visual studio and run your application on console?

提交回复
热议问题