Why all my exceptions messages now end with “crossed a native/managed boundary”

后端 未结 2 1722
闹比i
闹比i 2021-01-12 10:27

I\'ve being messing with the debug options and now all my exceptions are like

System.NullReferenceException crossed a native/managed boundary.

2条回答
  •  醉梦人生
    2021-01-12 10:59

    Solution found here ("an option in Visual Studio 2010 called "Break when exceptions cross AppDomain or managed/native boundaries (Managed only) under Debugging > General"):

    Ignore exceptions that cross AppDomains when debugging in Visual Studio 2010

提交回复
热议问题