ClrMd-ClrInfo TryGetDacLocation和其他方法丢失了吗? [英] ClrMd - ClrInfo TryGetDacLocation and other method missing?

查看:101
本文介绍了ClrMd-ClrInfo TryGetDacLocation和其他方法丢失了吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试ClrMd库: https://github.com/Microsoft/clrmd

I am trying out the ClrMd Library : https://github.com/Microsoft/clrmd

我遇到了这个问题,根据第一个教程,我在ClrInfo类型中有一个名为 TryGetDacLocation 的方法,但是我可以在其中找到它...我可以看到生成了Dac位置自动在Clrinfo内部,但是当我尝试调用 runtimeInfo.CreateRuntime(); 时,我得到: 此过程与dac之间的体系结构不匹配"

And I have this issue, according to the first tutorial I have a method called TryGetDacLocation in ClrInfo type, but as I can find it in it... I can see that Dac location are generated automatically inside the Clrinfo but as I am trying to call runtimeInfo.CreateRuntime(); I am getting: "Mismatched architecture between this process and the dac"

转储和运行过程是相同的-32位体系结构. 我没有看到该功能和其他功能,例如-在类中的 TryDownloadDac :

The dump and the running process are of the same - 32bit architecture. I don't see that function and other, for instance - TryDownloadDac in the class :

https://github.com/Microsoft/clrmd/blob/4fa26f39c8c057abf0e2a67d735369ce4766fa07/src/Microsoft.Diagnostics.Runtime/ClrRuntime.cs

有什么想法吗?

推荐答案

我正在从TaskManager中获取转储文件,但我不知道如果我从64 TaskManger中获取32位处理,它将给我64位转储.这就是这里的问题.

I was taking the dump file from TaskManager but I wasn't aware that if I am taking 32 bit process from 64 TaskManger it will give me the 64 bit dump. So that's the issue here.

并从新版本中删除了TryGetDacLocation函数.

And the TryGetDacLocation function are removed from the new version..

谢谢:)

这篇关于ClrMd-ClrInfo TryGetDacLocation和其他方法丢失了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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