Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Allow VS throw third party libraries exceptions

I'm getting this message silently on output window:

Exception thrown: 'System.ArgumentException' in AForge.Video.FFMPEG.dll

How do I allow VS to raise that exception?

like image 555
Jack Avatar asked Jan 21 '26 10:01

Jack


1 Answers

You can configure VS to break even when the exception is handled in user code. Typically the exceptions dialog can be open with CTRL-ALT-E, but you can find it in the Debug-> Windows menu for VS2015, or directly in the Debug menu for older versions.

Anyway, once you open it, find the System.ArgumentException exception and select break when thrown. You also have some additional options in the context menu:

enter image description here

More on this here.

like image 62
Marcel N. Avatar answered Jan 23 '26 01:01

Marcel N.



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!