Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

sharpdbg

> 开发工具
Open source

SharpDbg is a .NET managed code debugger supporting the Debug Adapter Protocol, implemented completely in C#/.NET

322 stars0 likes0 views
WebsiteGitHub

About

SharpDbg is a .NET managed code debugger supporting the Debug Adapter Protocol, implemented completely in C#/.NET

SharpDbg

An open source, cross platform .NET debugger implementing the VS Code Debug Adapter Protocol (DAP), completely written in C#!

SharpDbg uses the ClrDebug managed wrapper around the ICorDebug APIs.

Usage

SharpDbg is available on NuGet as a .NET Tool: https://www.nuget.org/packages/SharpDbg.Cli

bash
dotnet tool install --global SharpDbg.Cli 

Once installed, run it using:

bash
sharpdbg --interpreter=vscode

The in memory library is also published to NuGet: https://www.nuget.org/packages/SharpDbg

Comparison

SharpDbg netcoredbg
Implementation C# C++ with interop to C# where necessary
Cross Platform ✅ ✅
Expression Evaluation ✅ ✅
DebuggerBrowsable Support ✅ ✅
DebuggerDisplay Support ✅ ❌
DebuggerTypeProxy Support ✅ ❌

Architecture

SharpDbg is organized into three main components:

…

Building From Source

  1. Ensure .NET 10 SDK is installed
  2. git clone
  3. dotnet build
  4. Done!

This will produce the debug adapter executable at artifacts/bin/SharpDbg.Cli/Debug/net10.0/SharpDbg.Cli.exe, equivalent to netcoredbg.exe

Screenshots

DebuggerDisplay attribute

cs
	[DebuggerDisplay("Count = {Count}")]
	public class List : IList, IList, IReadOnlyList

DebuggerTypeProxy & DebuggerBrowsable(.RootHidden) attributes

cs
	[DebuggerTypeProxy(typeof(ICollectionDebugView<>))]
	public class List : IList, IList, IReadOnlyList

References

  • ClrDebug - Managed wrappers around the ICorDebug API
  • netcoredbg - .NET debugger, written in C++
  • debug-adapter-protocol - Microsoft's VS Code Debug Adapter Protocol

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C#csharpdapdbgdebug-adapter-protocol

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具