
csm101/delphi-visual-studio-code-debugger
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
Отладчик для delphi в визуальном студийном коде, а также сервер MCP для предоставления возможностей отладки claude/copilot/etc
Обзор
Debug Delphi приложения за пределами Embarcadero IDE — настоящий отладчик, построенный на Windows Debug API, написанный на Delphi. Сервер делает его первоклассным отладчиком внутри VS Code. 46 инструментов для установки точек останова, шага, чтения местных жителей и оценки выражений, чтобы агент мог запустить вашу программу и прочитать, что она на самом деле делает, вместо того, чтобы вывести ее из источника. Ни то, ни другое не является запоздалой мыслью; они являются двумя клиентами одного и того же DebuggerCore. Он проходит через установку и первую сессию отладки, затем руководство по MCP / AI-агенту и архитектурные заметки — со скриншотами. Эта страница является деревом-источником; это руководство. 32-разрядное приложение отлаживается 64-разрядным адаптером через границу WOW64, поэтому отладчик не конкурирует с отладчиком за 32-разрядное адресное пространство и не наследует потолок, под которым работает 32-разрядный отладчик. Это имеет значение для крупных проектов, где данные символов являются «хогом памяти»: индексация 523 МБ.
Обзор (машинный перевод)
Debug Delphi **32-разрядные и 64-разрядные ** приложения за пределами Embarcadero IDE Настоящий отладчик построен на Windows Debug API, написанном на Delphi.
Два передних конца, один двигатель. Протокол адаптера отладки делает сервер первоклассный отладчик внутри VS Code. MCP-сервер передает тот же движок Агент ИИ: 46 инструментов для установки точек останова, шага, чтения местных жителей и оценки Выражения, чтобы агент мог запустить вашу программу и прочитать, что она на самом деле делает. Вместо того, чтобы делать выводы из источника. Но и последующая мысль не Среди них есть и те, и другие.
Документация, учебный и функциональный тур → mcasoftware.dev
** Начнем с этого.** Он проходит через установку и первую сессию отладки, а затем ** 12-главный учебник VS Code **, руководство по MCP / AI-агенту и архитектуре Заметки — со скриншотами. Эта страница является деревом-источником; это руководство.
Сам отладчик всегда является 64-битным процессом, в зависимости от того, на что он нацелен. Отладка.** 32-разрядное приложение отлаживается 64-разрядным адаптером через Граница WOW64, поэтому отладчик не конкурирует с отладчиком за
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
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
.rsmfrom 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:
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →