Eric Streit 0bfc91b53b Debugger: acknowledge setExceptionBreakpoints with an empty set 1 týždeň pred
..
src 0bfc91b53b Debugger: acknowledge setExceptionBreakpoints with an empty set 1 týždeň pred
README.md 3bebb0abc8 Debugger: GDB/MI debug adapter with Module scope and record expansion 1 týždeň pred
package.json 3bebb0abc8 Debugger: GDB/MI debug adapter with Module scope and record expansion 1 týždeň pred
tsconfig.json 3bebb0abc8 Debugger: GDB/MI debug adapter with Module scope and record expansion 1 týždeň pred

README.md

modula2-debug

GDB-backed Debug Adapter Protocol integration for Modula-2.

  • 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 modula2 (schema, default config from modula2.json, fork executable).

Usage: build with gm2 -g (source lines), open the Run and Debug view, create a modula2 configuration (program defaults to bin/<name> from modula2.json), set breakpoints in .mod files, press F5.