问题描述
检查上面的网址我有同样的错误
无法评估表达式,因为线程在垃圾点停止收集是不可能的,可能是因为代码已经过优化。
如何解决这个问题?
如果我扩展C:\ Windows \ Mesrosoft.NET \ Framework \v2.0.50727 \ sos。 dll在我的VS即时窗口加载
然后它说
SOS在仅管理调试时不可用。要加载SOS,请在项目属性中启用非托管调试。
请帮帮我。
im非常担心:''(
Rick Byers : Func-eval can fail while stopped in a non-optimized managed method that pushes more than 256 argument bytes
check the above URL i have same error
"Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible, possibly because the code is optimized."
how can i solve this???
if i extension C:\Windows\Microsoft.NET\Framework\v2.0.50727\sos. dll loaded
this on my VS immediate window
then its says
SOS not available while Managed only debugging. To load SOS, enable unmanaged debugging in your project properties.
Please help me out this.
i m very worried :''(
推荐答案
这篇关于调试具有64个以上参数的方法时SOS出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!