|
|
3 dagen geleden | |
|---|---|---|
| .. | ||
| src | 3 dagen geleden | |
| README.md | 3 dagen geleden | |
| package.json | 3 dagen geleden | |
| tsconfig.json | 3 dagen geleden | |
GDB-backed Debug Adapter Protocol integration for Pascal.
src/adapter/mi.ts: minimal GDB/MI output parser (plain Node, tested
against live captures).src/adapter/gdb-adapter.ts: DAP adapter driving gdb --interpreter=mi
over stdio (launch, breakpoints + conditions, continue, next, stepIn,
stepOut, pause, threads, stackTrace, Locals + Module scopes with record
expansion, evaluate, disconnect).src/node/debug-adapter-contribution.ts: backend DebugAdapterContribution
for debug type pascal (schema, default config from pascal.json,
fork executable).Usage: build with gm2 -g (source lines), open the Run and Debug view,
create a pascal configuration (program defaults to bin/<name> from
pascal.json), set breakpoints in .mod files, press F5.