问题
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