3

I have the following code:

try
{
    ((System.ComponentModel.ISupportInitialize)(this.axWebBrowser1)).EndInit();
}
catch
{
}

And I have the Exception dialog configured to not stop on anything handled:

enter image description here

Anyway VS stops on the following exception and execution cannot continue. Any ideas?

enter image description here

Ignacio Soler Garcia
  • 21,122
  • 31
  • 128
  • 207

1 Answers1

3

In the settings section for the debugger there is a checkbox for "Break when exceptions cross AppDomain or managed/native boundaries", that is why the catch is not being used.

Scott Chamberlain
  • 124,994
  • 33
  • 282
  • 431