CsDebugScript: C# debugging automation tool
Set of .NET libraries that provide access to different debugging tools. CsDebugScript.Engine provides framework for writting .NET code against different debuggers/dump processing. Extension libraries provide access to dbgeng.dll for processing Windows dumps, ability to read Linux core dumps, WinDbg/VisualStudio extension with interactive scripting support. Debugging both native and managed code is supported (currently, managed code is supported only for dbgeng.dll and WinDbg extension).
Latest status
If you want newer build than what is available in Releases page or as nuget package, you can click on Latest build, select Configuration and click on Artifacts. You can also use private nuget feed https://ci.appveyor.com/nuget/windbgcs-raewbx34ffcq.
Easy start for using engine
- Create a new .NET project (you can use Console Application)
- Add NuGet package CsDebugScript
- Start using it:
using CsDebugScript;
DebuggerInitialization.OpenDump("path_to_dump_file", "symbol_path;srv*");
// After this line, you can execute any code that can be executed in the script. For example:
foreach (Module module in Process.Current.Modules)
Console.WriteLine(module.Name);Wiki
Take a look a Wiki page to get hooked up :)
Or jump to WinDbg interactive mode screenshots...
Code reference
Now that you are hooked up, you can take a look at code reference.
Prerequisites for building the project
- .NET core 2.0
- Visual Studio Community 2017 (for building WinDbg extension, VisualStudio extension)

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
