您的位置:首页 > 博客中心 > 数据库 >

WinDbg加载不同版本CLR

时间:2022-03-14 02:57

WinDbg调试.net2.0和.net4.0程序有所不同,因为.net4.0使用新版本的CLR。例如:

mscoree.dll 变为 mscoree.dll 和 mscoreei.dll,

mscorwks.dll 变为 clr.dll,

mscorjit.dll 变为 clrjit.dll。

因此,在.net2.0加载mscorjit.dll时断点:sxe ld:mscorjit(卸载是sxe ud:mscorjit),

在.net4.0加载clrjit.dll时断点:sxe ld:clrjit(卸载是sxe ud:clrjit),

.net2.0加载sos: .loadby sos mscorwks,

.net4.0加载sos: .loadby sos clr。

 

热门排行

今日推荐

热门手游