Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to not break when user handled exception is thrown in visual studio 2019

Microsoft Visual Studio Enterprise 2019
Version 16.5.5
VisualStudio.16.Release/16.5.5+30104.148
Microsoft .NET Framework
Version 4.8.03752

I don't want visual studio to break in debug mode when such as below exceptions happened. The ones that i have handled via try catch. But i could not find a way even though I did extensive internet search

project details : asp.net web forms, .net 4.8 framework

enter image description here

like image 764
MonsterMMORPG Avatar asked Jan 28 '26 21:01

MonsterMMORPG


1 Answers

I had a similar issue and found the fix here: Tell the debugger to continue on user-unhandled exceptions

Basically, in Exception Settings > Addition Actions column on Common Language Runtime Exceptions row, I right clicked and selected "Continue when unhandled in user code". i didn't see it break since.

like image 69
Ki Ueta Avatar answered Jan 30 '26 15:01

Ki Ueta



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!