Repository navigation
Develop - #5
Merged
Merged
Develop#5
Conversation
Replace hard-coded codelldb assumptions throughout the stack with adapter-agnostic abstractions (AdapterKind/AdapterConfig), enabling GDB DAP mode as the first new debug adapter. - dap-client: introduce AdapterKind (Codelldb/Gdb) and AdapterConfig; change start(path) to start(&config); add background stderr drain to prevent pipe-buffer deadlock with verbose adapters - debug-session: track adapter_kind for behavioral branching; launch/configuration_done use fire-and-forget for codelldb vs blocking for GDB; derive default adapterId from adapter kind - debug-bridge: StartParams accept adapterPath/adapterKind/adapterArgs with backward-compatible codelldbPath alias; launch handler uses GDB 'target' vs codelldb 'processCreateCommands' for remote debug - CLI: --adapter-path/--adapter-kind/--adapter-args flags with deprecated --codelldb-path fallback; adapter-specific remote launch - All integration/E2E tests updated to AdapterConfig pattern - Remove docs/fangan.md (obsolete Chinese design document) - Rewrite all user-facing messages, docs, and comments to be adapter-agnostic (s/codelldb/debug adapter/)
MCP clients can now pass an optional liblldbPath in the initialize handshake to tell teleDAP where liblldb.dll lives. The parent directory is prepended to PATH when spawning codelldb, so the adapter can find the shared library without system-wide config. - InitializeParams: optional liblldbPath field (backward-compatible) - DapClient: stores path + prepends parent dir to PATH on spawn - DebugSession: set_lib_lldb_path() delegation method - server.rs: handle_initialize parses params, stores on session - cli.rs: --liblldb-path optional argument
The get_threads tool was previously gated to Halted state only, preventing AI agents from discovering thread IDs while the debuggee is running. Since codelldb/LLDB maintains a thread list regardless of execution state, the DAP threads request can be answered even during Running. - gating.rs: add Running to get_threads allowed states - tools.rs: update description to reflect dual-state availability - registry.rs test: verify get_threads appears in Running tools
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.