Visual Studio 2015 break on unhandled exceptions not working

前端 未结 12 1860
别那么骄傲
别那么骄傲 2020-11-30 23:36

Visual studio used to have a specific checkbox to \"Break on Un-handled exception\". In 2015 this has been removed (or moved somewhere I cannot find it). So now my convert

12条回答
  •  盖世英雄少女心
    2020-11-30 23:46

    There's definitely some bug in Visual Studio that can cause it to get stuck requiring a restart. Even VS2015.

    I had a single threaded situation where a NullReferenceException was getting caught by an 'outer' handler (still in my code) even though I asked for it to break when it was raised.

    I realize this is a 'handled' exception and you're talking an 'unhandled' one - however I'm pretty sure that sometimes a quick restart of VS will fix this, if IISRESET doesn't.

提交回复
热议问题