“c#编译器中的内部错误”在调试w3wp.exe转储时查看实例 [英] "Internal error in the c# compiler" viewing instances when debugging a dump of w3wp.exe

查看:609
本文介绍了“c#编译器中的内部错误”在调试w3wp.exe转储时查看实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我很难找到有关此问题的任何信息,可能只是在搜索错误的词组。


我们在Web应用程序中存在内存泄漏,并且有一个违规进程的转储。


我们可以清楚地看到问题的原因是什么,但是无法看到问题的原因。用于确定泄漏确切来源的实例。


您可以在以下屏幕截图中看到实例的值始终显示"C#编译器中的内部错误"。 - 尝试添加屏幕截图说我不能直到我验证我的帐户。


所以我将尝试描述问题:在使用"调试管理内存"时的堆视图上我选择查看所有类型字符串的实例,而不是显示值显示                      这些符号确保我使用工具>加载了所有符号。选项>调试>符号>加载所有符号,但这并没有解决问题。


之前有没有人遇到过这个问题,有什么想法导致它?


使用Visual Studio 2017 Enterprise,不确定其他哪些信息对您有帮助。

解决方案

Al-Strick,


请查看菜单工具 - >选项>调试>启用使用托管兼容模式,然后调试转储文件,结果如何?


对于转储文件调试问题,我建议您报告反馈:


https://docs.microsoft.com/en-us/dotnet/csharp/ misc / cs0583


您可以通过VS2017帮助菜单提交 - >现在报告反馈。


谢谢,


杰克


Hi,

I'm struggling to find any information about this issue, possibly just searching for the wrong phrase.

We have a memory leak in a web application, and have a dump of the offending process.

We can clearly see what the cause of the issue is but can't see the values of the instances to determine exact source of the leak.

You can see in the following screenshot that the value of an instance always says "Internal error in the C# compiler". - Tried to add a screenshot says I can't until I verify my account.

So I will try to describe the issue: On the Heap View when using "Debug Managed Memory" I select to view all instances of say the type String and rather than display the value is displays  "Internal error in the C# compiler".

I though perhaps it was related to symbols so made sure that I had loaded all the symbols using the Tools > Options > Debugging > Symbols > Load all symbols, but this didn't resolve the problem.

Has anyone experienced this issue before, any ideas on what could be causing it?

Using Visual Studio 2017 Enterprise, not sure what other information would be helpful to you.

解决方案

Hi Al-Strick,

Please view menu Tools-> Options > debugging > enable Use Managed Compatibility Mode, and then debug your dump file, how about the result?

For the dump file debugging issue, I suggest you report a feedback:

https://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0583

You could submit it through the VS2017 help menu->report feedback now.

Thanks,

Jack


这篇关于“c#编译器中的内部错误”在调试w3wp.exe转储时查看实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆