c# - Visual Studio 2015 break on unhandled exceptions not working -


visual studio used have specific checkbox "break on un-handled exception". in 2015 has been removed (or moved somewhere cannot find it). converted projects no longer break if fail provide user-level exception handler. don't want break on "thrown exceptions" because handle specific ones. fail provide specific handler.

right code exits current procedure , continues execution @ next call stack location, not good.

anyone know how in visual studio 2015? upgraded community edition yesterday.

there's new window called "exception settings" appears in lower right pane default when begin debugging. has of options expect.

you can bring ctrl+alt+e

this allows cherry-pick exceptions cause break in debugger.

the key, though, can set whether these exceptions break, or break when it's unhandled exception -- setting not intuitive.

you need first check "enable code" under tools > options > debugging.

this allows right-click column header (break when thrown) in new exceptions settings window, , add "additional actions" column, allows set each exception "continue when unhandled in user code".

enter image description here

more on here:

http://blogs.msdn.com/b/visualstudioalm/archive/2015/02/23/the-new-exception-settings-window-in-visual-studio-2015.aspx


Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -