Giter Club home page Giter Club logo

sharpdebug's Introduction

SharpDebug: C# debugging automation tool

Set of .NET libraries that provide access to different debugging tools. SharpDebug.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, WinDbg and Visual Studio extensions).

Latest status

Build status Code coverage Nuget version GitHub release

Latest version of Visual Studio extension is uploaded to Open VSIX Gallery. 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 from AppVeyor CI builds.

Debugger extensions:

Quick start for using engine as standalone application for dump processing

  • Create a new .NET project (you can use Console Application)
  • Add NuGet package SharpDebug
  • Start using it:
using SharpDebug;

DebuggerInitialization.OpenDump("path_to_dump_file", "symbol_path;srv*");
// After this line, you can execute any code that can be executed in a script. For example:
foreach (Module module in Process.Current.Modules)
    Console.WriteLine(module.Name);

Take a look at Tutorials and Automate dump processing. It will come in handy :)

Building the project

Prerequisites:

  1. .NET core 2.0
  2. Visual Studio Community 2017 (only for building WinDbg extension, VisualStudio extension)

Take a look at instructions.

Supporting the project

If you like the project, use it, "star" it, share ideas on how else it can be used, file issues, send pull requests, etc...

sharpdebug's People

Contributors

southpolenator avatar vujova avatar grlap avatar dasatomic avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.