Unlike other debugger extensions,this is not just one dll but two dlls(also Roslyn dlls if not installed on GAC) .The main extension dll extcs.dll is written using c++ and it will be calling the managed extcs.debugger.dll using C++/CLI.

The scripting back-end is implemented using Roslyn. "Roslyn" is a set of APIs for exposing the Microsoft C# and Visual Basic .NET compilers as services available at runtime. msdn.microsoft.com/en-us/vstudio/roslyn.aspx

Also thanks a lot to http://scriptcs.net project for inspiring this idea.

if you already have the extension, jump into Script Samples


  • .NET Framework 4.5
  • Windows Debugging tools - You can install the either the WDK version or Windows SDK version.
  • Visual Studio 2012(only if you want to debug)

Installation instructions


  • Extract the contents to the debugging tools directory(where you have the windbg.exe or cdb.exe)
  • load the extension using .load extcs
  • To execute any script,run command !execute -file <path>
  • You can use simple notepad or tools like sublime text to write scripts. If you want to write scripts/debug with the visual studio 2012 , install

Visual Studio 2012 SDK-http://go.microsoft.com/?linkid=9810482
Microsoft Roslyn CTP- http://www.microsoft.com/en-us/download/details.aspx?id=34685

Last edited Jul 8, 2013 at 11:06 PM by rohithkrajan, version 6


No comments yet.