gpt4 book ai didi

debugging - 托管调试助手 'FatalExecutionEngineError'

转载 作者:行者123 更新时间:2023-12-04 04:04:46 26 4
gpt4 key购买 nike

我收到以下错误:

Managed Debugging Assistant 'FatalExecutionEngineError' has detected a problem in 'C:\Users\App\App.exe'. Additional Information: The runtime has encountered a fatal error. The address of the error was at 0xf5b029e1, on thread 0x72bc. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.



在调试时执行此语句时出现上述错误。
 LoggerHandler.Info("Executed " & iterations.ToString & " iterations on " & max_processors & " cores in " & Format((Now() - time).TotalSeconds, "0.0") & " seconds.")

最佳答案

更改为使用“托管兼容模式”是在 Visual Studio 2015 中为我修复错误的原因:

Tools menu >Options > Debugging > General > "Use Managed Compatibility Mode"



enter image description here

Microsoft blog更详细地描述此设置的作用。

关于debugging - 托管调试助手 'FatalExecutionEngineError',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31451431/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com