Managed Debugging Assistant 'FatalExecutionEngineError' -


i'm getting below error:

managed debugging assistant 'fatalexecutionengineerror' has detected problem in 'c:\users\app\app.exe'. additional information: runtime has encountered fatal error. address of error @ 0xf5b029e1, on thread 0x72bc. error code 0xc0000005. error may bug in clr or in unsafe or non-verifiable portions of user code. common sources of bug include user marshaling errors com-interop or pinvoke, may corrupt stack.

i above error when execute statement while debugging.

 loggerhandler.info("executed " & iterations.tostring & " iterations on " & max_processors & " cores in " & format((now() - time).totalseconds, "0.0") & " seconds.") 

changing use "managed compatibility mode" fixed error me in visual studio 2015:

tools menu >options > debugging > general > "use managed compatibility mode"

enter image description here

this microsoft blog describes setting in bit more detail.


Comments