How to disable exception assistant and unhandled exception popup in Visual Studio 2008 Express

前端 未结 2 476
难免孤独
难免孤独 2021-01-11 17:06

I am using Visual Studio 2008 Express and am writing unit tests where there are many expected unhandled exceptions. This cause numerous exception assistant popups to display

2条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-11 17:38

    I'll take a guess that you're encountering one of the following:

    • You're throwing a "special" exception like StackOverflowException that the runtime handles differently from other exceptions.
    • Your test code creates a new thread, and on that thread an exception is thrown.

提交回复
热议问题