C#C
C#2y ago
Simon

Visual Studio Exception Settings

Visual Studio breaks on handled exceptions. I've looked at more than like 20 stackoverflow questions but none of them really helped.
try {
  // Do something that throws an exception.
} catch (Exception ex) { }


VS will stop on a simple code like that.
As for my settings, I have
Just My Code
option enabled.
Some people on SO suggested that we should go to
Exception Settings
menu and enable
Continue when unhandled in user code
but this makes no sense, I want it to break on unhandled code but continue as it should on handled code. I'm really not sure why this simple feature is so hard to get it working, so I'd really appreciate any help.
Was this page helpful?