Skip to content

Add elf, svd, rtt, and plugins support#2

Merged
es617 merged 12 commits into
mainfrom
elf_svd_support
Feb 26, 2026
Merged

Add elf, svd, rtt, and plugins support#2
es617 merged 12 commits into
mainfrom
elf_svd_support

Conversation

@es617

@es617 es617 commented Feb 26, 2026

Copy link
Copy Markdown
Owner

No description provided.

es617 added 12 commits February 25, 2026 16:08
  - Fix log level env var: README now documents DBGPROBE_MCP_LOG_LEVEL matching the code (was DBGPROBE_LOG_LEVEL)
  - Fix plugin template: replace non-existent serial handler imports (handle_write, handle_read, etc.) with actual handle_mem_read/handle_mem_write
  - Unify session_id naming: migrate spec handlers and plugin template from connection_id to session_id, remove backward-compat aliases (ProbeConnection, get_connection, state.connections)
  - Fix GDB client performance: replace byte-at-a-time reading with readuntil/readexactly — two event-loop iterations per packet regardless of payload size
  - Fix session-less flash: pass config through Backend.flash(config=) instead of poking at backend._config internal
  - Add path validation on SVD/ELF attach: reject non-files and unexpected extensions via shared _validate_file_path helper
  - Remove dead _read_register placeholder in handlers_svd.py
  - Remove redundant `import struct as _struct` in _enrich_mem_read_svd
  - Log disconnect errors at DEBUG instead of silently swallowing
  - Add SVD status to connections.list introspection
  - Make Backend ABC docstrings backend-agnostic (remove JLinkExe refs)
  - Fix log level env var: README now documents DBGPROBE_MCP_LOG_LEVEL matching the code (was DBGPROBE_LOG_LEVEL)
  - Fix plugin template: replace non-existent serial handler imports (handle_write, handle_read, etc.) with actual handle_mem_read/handle_mem_write
  - Unify session_id naming: migrate spec handlers and plugin template from connection_id to session_id, remove backward-compat aliases (ProbeConnection, get_connection, state.connections)
  - Fix GDB client performance: replace byte-at-a-time reading with readuntil/readexactly — two event-loop iterations per packet regardless of payload size
  - Fix session-less flash: pass config through Backend.flash(config=) instead of poking at backend._config internal
  - Add path validation on SVD/ELF attach: reject non-files and unexpected extensions via shared _validate_file_path helper
  - Remove dead _read_register placeholder in handlers_svd.py
  - Remove redundant `import struct as _struct` in _enrich_mem_read_svd
  - Log disconnect errors at DEBUG instead of silently swallowing
  - Add SVD status to connections.list introspection
  - Make Backend ABC docstrings backend-agnostic (remove JLinkExe refs)
@es617 es617 merged commit 7e1eb3b into main Feb 26, 2026
9 checks passed
@es617 es617 deleted the elf_svd_support branch February 26, 2026 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant