百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

sharpdbg

> 开发工具
开源

SharpDbg 是一款支持 Debug Adapter Protocol 的 .NET 托管代码调试器,完全采用 C#/.NET 实现。

322 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

SharpDbg 是一款支持 Debug Adapter Protocol 的 .NET 托管代码调试器,完全采用 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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#csharpdapdbgdebug-adapter-protocol

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类开发工具
定价开源

> 相关工具

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