Why do all of my exception messages now end with the words "intersects with native / managed boundary",

I messed around with debugging options and now all my exceptions are like

The System.NullReferenceException fix crossed its own / managed boundary.

Sometimes, when an exception occurs, VS asks me to open some .net.cs file, as if I had the source code. I want the "Restore Defaults" button to appear. Any idea that I need it to work as usual?

+7
visual-studio visual-studio-2010
source share
2 answers

Of course, there is the “restore to default” option, which affects a large number of settings (including some debugging settings).

If you have not tried it, use the "Reset all settings" parameter in the "Import and Export ..." wizard, which can be accessed from the "Tools" menu. He suggests saving the current settings before he reset.

If this solves your problem and you are still interested to know what you changed, you can save your settings again using the same wizard and make the difference between the two files.

+4
source share

The solution is found here (the “option in Visual Studio 2010 is called“ Break, when exceptions intersect with AppDomain or managed / native domains (for managed ones only) in the Debug> General section):

Ignore exceptions that cross AppDomains when debugging in Visual Studio 2010

+14
source share

All Articles