CD

csm101/delphi-visual-studio-code-debugger

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

53 stars 8 forks 品質 79 トレンド 21MIT

ビジュアル スタジオ コードの delphi のデバッガ、また claude/copilot/etc の authonomous の delphi のデバッギング機能を与える MCP サーバー

概要

Embarcadero IDEの外でDelphiアプリケーションをデバッグします。Delphiで書かれているWindows Debug API上に構築された実際のデバッガです。 サーバは、VS コード内の一流デバッガーを生成します。 同じエンジンを : 46 ツールにセットするブレークポイント、ステップ、ローカルを読み込み、式を評価します。そのため、エージェントはプログラムを実行し、実際にソースからそれを推論するのではなく、実際に何をするのかを読み込むことができます。 Neither は、もうひとつの後に求められている。彼らは同じ DebuggerCore の 2 つのクライアントです。 インストールと最初のデバッグセッション、その後、MCP / AI エージェント ガイドとアーキテクチャ ノート、スクリーンショットで歩く。 このページはソースツリーです。マニュアルです。 32ビットのアプリケーションは、WOW64 境界線を渡る 64 ビット アダプターによってデバッグされます。そのため、デバッガは 32 ビット アドレス スペースの debuggee と競合せず、天井を 32 ビット デバッガは下で動作します。 シンボルデータがメモリホッグである大規模なプロジェクトでは、 523 MB をインデックス化します.

概要(AI 翻訳)

Debug Delphi 32ビットおよび64ビット Embarcadero IDE以外のアプリケーション — a Delphi で書かれている Windows Debug API で造られる実質のデバッガー。

2つの前部端、1つのエンジン。 A Debug アダプター プロトコル サーバはそれを作ります VS コード内での一流のデバッガ。 MCP サーバー は同じエンジンを AIエージェント: ブレイクポイント、ステップ、ローカルを読み込み、評価するための46ツール 式なので、エージェントはプログラムを実行し、実際に何をしているかを読み込むことができます 代わりに、ソースからそれを注入する。 ネザーは、 同じ[DebuggerCoreの2つのクライアントです。

447 ドキュメント、チュートリアル、機能ツアー → mcasoftware.dev

はじめに。 インストールと最初のデバッグセッションで歩くと、 12チャプターVSコードチュートリアル、MCP / AIエージェントガイド、アーキテクチャ メモ — スクリーンショットで。 このページはソースツリーです。マニュアルです。

デバッガ自体は、常に64ビットのプロセスであり、それをターゲットとする デバッグ。 32ビットのアプリケーションは、64ビットのアダプターによってデバッグされます。 WOW64 バウンダリなので、デバッガはデバッダギーと競合しません

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Delphi Debugger for VS Code and AI Agents

Debug Delphi 32-bit and 64-bit applications outside the Embarcadero IDE — a real debugger built on the Windows Debug API, written in Delphi.

Two front ends, one engine. A Debug Adapter Protocol server makes it a first-class debugger inside VS Code. An MCP server hands the same engine to an AI agent: 46 tools to set breakpoints, step, read locals and evaluate expressions, so an agent can run your program and read what it actually does instead of inferring it from the source. Neither is an afterthought of the other; they are two clients of the same DebuggerCore.

📖 Documentation, tutorial and feature tour → mcasoftware.dev

Start there. It walks through installation and a first debug session, then a 12-chapter VS Code tutorial, the MCP / AI-agent guide and the architecture notes — with screenshots. This page is the source tree; that one is the manual.

The debugger itself is always a 64-bit process, whichever target it debugs. A 32-bit application is debugged by a 64-bit adapter across the WOW64 boundary, so the debugger is not competing with the debuggee for a 32-bit address space and does not inherit the ceiling a 32-bit debugger works under. That matters on large projects, where the symbol data is the memory hog: indexing a 523 MB .rsm from a real single-exe build peaks at 692 MB of working set — comfortable at 64-bit, and not something to attempt inside a 2 GB user-mode address space.

Only one binary is shipped. The target’s PE header decides the machine model before the process starts; there is nothing to choose and no second adapter to install.

The repository contains three programs that share one debugger engine:

What it is Where it lives
Debug adapter A Debug Adapter Protocol (DAP) server. This is the debugger itself: breakpoints, stepping, call stacks, variables, expression evaluation. Any DAP client can drive it. VisualStudioCodeDelphiDebugger\
VS Code extension The client that makes it usable in the editor: the delphi debug type (alias delphi-win64), the process picker for attaching, status-bar progress, and an editor for the exception rules. install\mca-software.delphi-debugger\
MCP server The same engine exposed to an AI agent over the Model Context Protocol — 46 tools (set_breakpoint, step_into, get_locals, evaluate_expression, get_call_stack, read_memory, …). It lets an agent run a program, stop it, and read its actual state instead of guessing from the source. MCPDebugger\

The rest of the tree:

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →