本文介绍了Psscor4的!DumpXmlDocument在标记名称中不显示前两个字母的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我制作了一个.net 4应用程序,如下所示.

I made a .net 4 application like the following.

        static void Main(string[] args)
        {
            XmlDocument doc = new XmlDocument();
            doc.LoadXml("<one><two>TEST</two></one>");
            System.Console.ReadLine();
        }

我生成了一个转储(当应用程序处于ReadLine()时)并针对转储执行了Psscor4的!DumpXmlDocument,但Psscor4没有显示前两个字母.
输出为:

I generated a dump (while the app is in ReadLine()) and executed !DumpXmlDocument of Psscor4 against the dump but Psscor4 does not show first two letters.
The output was:

<e>
   <o>
      TEST
   </o>
</e>

如果我构建与.net 3.5应用程序相同的代码,创建转储并执行Psscor2的!DumpXmlDocument,则输出没有问题.
输出为:

If I build the same code as .net 3.5 app, created a dump and executed !DumpXmlDocument of Psscor2, the output had no problem.
The output was:

<one>
   <two>
      TEST
   </two>
</one>

知道为什么Psscor4的!DumpXmlDocument无法正常工作吗?



Any idea why !DumpXmlDocument of Psscor4 does not work correctly?



推荐答案

有些博客介绍了Psscor2和Psscor4,我们也可以通过添加评论来讨论它.

There are some blogs which introduce Psscor2 and Psscor4, we also can discuss it by adding comments.

链接供您参考:

  http://blogs.msdn.com/b/tom/archive/2011/04/28/now-available-psscor4-debugger-extension-for-net-4-0.aspx

  http://blogs.msdn.com/b/tom/archive/2011/04/28/now-available-psscor4-debugger-extension-for-net-4-0.aspx

  http://blogs.msdn.com/b/tess/archive/2010/03/30/new-debugger-extension-for-net-psscor2.aspx  

 http://blogs.msdn.com/b/tess/archive/2010/03/30/new-debugger-extension-for-net-psscor2.aspx 

希望它会有所帮助.


这篇关于Psscor4的!DumpXmlDocument在标记名称中不显示前两个字母的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-22 12:13