Search code examples
visual-studiointellitrace

IntelliTrace: Uncaught exception during type initialization


Visual Studio 2015 Enterprise Update 3.
.Net 3.5 SP1, AnyCPU

Today I often get this error for my project:

Microsoft Visual Studio

Process:
D:\projects\vs-2015\sharp_sandbox\sharp_sandbox\bin\Debug\sharp_sandbox.vshost.exe
Automatically attaching to support this behavior was not completely successful.

Successfully attached these type(s) of code: Managed

Failed to attach to these type(s) of code:
IntelliTrace: Uncaught exception during type initialization.

How can I solve this problem?


Solution

  • Try to check/uncheck Enable native code debugging configuration option. You will find it in Enable Debuggers section it in Debug tab in the project properties.