Skip to content

What is CLRDBG [Legacy]

Andrew Wang edited this page Sep 25, 2020 · 2 revisions

CLRDBG is mentioned a few places in the documentation and the code. This is our new cross-platform command line debugger used for debugging code running on .NET Core. It is a port of the backend for Visual Studio's normal .NET debugger to run on other platforms + a new command line debugger wrapper which speaks the MI protocol.

CLRDBG will release for the first time with .NET Core RC2. On Linux, you can obtain the latest version designed to run against VS 2015 Update 2 with the following command. Replace '~/clrdbg' if you want to install it to a different directory.

curl -sSL https://aka.ms/getclrdbgsh | bash /dev/stdin vs2015u2 ~/clrdbg

CLRDBG + MI/Engine is what powered the CoreCLR Linux debugging demo that was shown in 2015 //Build/ conference day one keynote (video link).

It is also what powered the Visual Studio Code debugging on MacOS demo in the 2015 Connect() day one keynote (video link).