The first step is to install the dotnet-dump CLI global tool. This requires the 2.1 .NET Core SDK to be installed.
- $ dotnet tool install -g dotnet-dump --version 1.0.2-preview3.19151.2 --add-source https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json
+ $ dotnet tool install -g dotnet-dump --version 1.0.2-preview3.19170.2 --add-source https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json
You can invoke the tool using the following command: dotnet-dump
- Tool 'dotnet-dump' (version '1.0.2-preview3.19151.2') was successfully installed.
+ Tool 'dotnet-dump' (version '1.0.2-preview3.19170.2') was successfully installed.
## Using dotnet-dump
The first step is to install the dotnet-sos CLI global tool. This requires the 2.1 .NET Core SDK to be installed.
- $ dotnet tool install -g dotnet-sos --version 1.0.2-preview3.19151.2 --add-source https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json
+ $ dotnet tool install -g dotnet-sos --version 1.0.2-preview3.19170.2 --add-source https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json
You can invoke the tool using the following command: dotnet-sos
- Tool 'dotnet-sos' (version '1.0.2-preview3.19151.2') was successfully installed.
+ Tool 'dotnet-sos' (version '1.0.2-preview3.19170.2') was successfully installed.
The next step is use this global tool to install SOS.
$ dotnet sos install
- Installing SOS to /home/mikem/.dotnet/sos from /home/mikem/.dotnet/tools/.store/dotnet-sos/1.0.2-preview3.19151.2/dotnet-sos/1.0.2-preview3.19151.2/tools/netcoreapp2.1/any/linux-x64
+ Installing SOS to /home/mikem/.dotnet/sos from /home/mikem/.dotnet/tools/.store/dotnet-sos/1.0.2-preview3.19170.2/dotnet-sos/1.0.2-preview3.19170.2/tools/netcoreapp2.1/any/linux-x64
Creating installation directory...
Copying files...
Updating existing /home/mikem/.lldbinit file - LLDB will load SOS automatically at startup
The installer needs to be run again:
$ dotnet sos install
- Installing SOS to /home/mikem/.dotnet/sos from /home/mikem/.dotnet/tools/.store/dotnet-sos/1.0.2-preview3.19151.2/dotnet-sos/1.0.2-preview3.19151.2/tools/netcoreapp2.1/any/linux-x64
+ Installing SOS to /home/mikem/.dotnet/sos from /home/mikem/.dotnet/tools/.store/dotnet-sos/1.0.2-preview3.19170.2/dotnet-sos/1.0.2-preview3.19170.2/tools/netcoreapp2.1/any/linux-x64
Installing over existing installation...
Creating installation directory...
Copying files...
To remove the SOS installer global tool (optional):
$ dotnet tool uninstall -g dotnet-sos
- Tool 'dotnet-sos' (version '1.0.2-preview3.19151.2') was successfully uninstalled.
+ Tool 'dotnet-sos' (version '1.0.2-preview3.19170.2') was successfully uninstalled.
It is recommended that you update to the newer versions of the Windows debugger, but you can still use the latest SOS with older Windows debuggers by using the dotnet-sos CLI global tool to install. It is not as convenient. You may have to ".unload" the SOS that is loaded from the "runtime" directory.
- C:\Users\mikem>dotnet tool install -g dotnet-sos --version 1.0.2-preview3.19151.2 --add-source https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json
+ C:\Users\mikem>dotnet tool install -g dotnet-sos --version 1.0.2-preview3.19170.2 --add-source https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json
You can invoke the tool using the following command: dotnet-sos
- Tool 'dotnet-sos' (version '1.0.2-preview3.19151.2') was successfully installed.
+ Tool 'dotnet-sos' (version '1.0.2-preview3.19170.2') was successfully installed.
Run the installer:
C:\Users\mikem>dotnet sos install
- Installing SOS to C:\Users\mikem\.dotnet\sos from C:\Users\mikem\.dotnet\tools\.store\dotnet-sos\1.0.2-preview3.19151.2\dotnet-sos\1.0.2-preview3.19151.2\tools\netcoreapp2.1\any\win-x64
+ Installing SOS to C:\Users\mikem\.dotnet\sos from C:\Users\mikem\.dotnet\tools\.store\dotnet-sos\1.0.2-preview3.19170.2\dotnet-sos\1.0.2-preview3.19170.2\tools\netcoreapp2.1\any\win-x64
Creating installation directory...
Copying files...
Execute '.load C:\Users\mikem\.dotnet\sos\sos.dll' to load SOS in your Windows debugger.