When debugging a console app, Visual Studio gets stuck in an exception-reporting loop. Why?

后端 未结 4 1428
野趣味
野趣味 2021-01-21 04:08

Consider this simple console application:

using System;

namespace Demo
{
    class Program
    {
        static void Main(string[] args)
        {
            t         


        
4条回答
  •  庸人自扰
    2021-01-21 04:54

    By default, the debugger stops on all exceptions, that are not caught (i.e. unhandled) - this can be changed in the Exceptions dialog (CTRL+ALT+E, with my keybindings)

提交回复
热议问题