ClrMd - ClrInfo TryGetDacLocation and other method missing?

↘锁芯ラ 提交于 2019-12-24 15:48:04

问题


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

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"

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

Any Ideas?


回答1:


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.

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

Thanks :)



来源:https://stackoverflow.com/questions/33392598/clrmd-clrinfo-trygetdaclocation-and-other-method-missing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!