VS2010 (Express) debugger trapping Ctrl+C in Console app

前端 未结 5 988
梦毁少年i
梦毁少年i 2021-01-04 08:49

Summary of Answers

To avoid the debugger trapping Ctrl+C first turn off the Visual Studio Hosting Process (found in project pro

5条回答
  •  悲&欢浪女
    2021-01-04 09:41

    TopShelf has reported this problem:

    https://github.com/Topshelf/Topshelf/issues/10

    And Microsoft has acknowledged it:

    https://connect.microsoft.com/VisualStudio/feedback/details/524889/debugging-c-console-application-that-handles-console-cancelkeypress-is-broken-in-net-4-0

提交回复
热议问题