4、WinDbg的配置(新版本无需配置)

原先我们使用.load by sos,在.NET Core 或者 .NET 5中需要直接按指定目录加载SOS调试器扩展了
 
二、配置SOS
安装配置指定的SOS指令。.NET Framework系统自带。.netcore需要安装对应的运行时版本的SOS。
首先确保安装了dotnet-sos 工具,可以通过命令行安装

 

dotnet tool install -g dotnet-sos

 

 . 安装.NET Core 3.1的SOS扩展:

dotnet-sos install

 

.load C:\Users\Administrator\.dotnet\sos\SOS.dll
0:049> !clrstack
Failed to find runtime DLL (clr.dll), 0x80004005
Extension commands need clr.dll in order to have something to do.

 三、配置符号路径

 

或者在Windbg设置配置
新版

 旧版

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章