You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found while live-verifying PR #254 on Windows (CodeLLDB 1.11.8, MSVC-built example with LLDB_USE_NATIVE_PDB_READER=1).
Problem
With a breakpoint at examples/rust/hello_world/src/main.rs:26, once the session is paused at that breakpoint, continue_execution succeeds (success: true) but the session immediately re-stops at the same breakpoint (same line, same threadId, stopReason: "breakpoint", fresh lastStop timestamp). Repeats indefinitely — the program never advances past the line by continue alone.
Reproduced twice in one session:
19:54:26 paused at main.rs:26 (breakpoint)
continue_execution → 19:55:19 paused again at main.rs:26 (breakpoint)
Workaround
step_over once (moves to line 27), then continue_execution runs to completion normally.
Notes
Likely LLDB-on-Windows failing to step over the re-armed breakpoint trap before resuming (classic breakpoint-re-hit behavior), possibly specific to the native PDB reader path.
Not covered by existing e2e: tests/e2e/mcp-server-smoke-rust.test.ts inspects locals at the breakpoint but never continues past a user breakpoint to completion; the async test only steps.
Worth checking whether the first "paused, reason: breakpoint" reported by start_debugging is actually the Windows initial system stop being mislabeled — in the same session, the real user breakpoint was only reached after one continue (see skill note "Windows initial stop" in skills/debugging/references/rust.md:55).
Context
Found while live-verifying PR #254 on Windows (CodeLLDB 1.11.8, MSVC-built example with
LLDB_USE_NATIVE_PDB_READER=1).Problem
With a breakpoint at
examples/rust/hello_world/src/main.rs:26, once the session is paused at that breakpoint,continue_executionsucceeds (success: true) but the session immediately re-stops at the same breakpoint (same line, same threadId,stopReason: "breakpoint", freshlastStoptimestamp). Repeats indefinitely — the program never advances past the line by continue alone.Reproduced twice in one session:
continue_execution→ 19:55:19 paused again at main.rs:26 (breakpoint)Workaround
step_overonce (moves to line 27), thencontinue_executionruns to completion normally.Notes
tests/e2e/mcp-server-smoke-rust.test.tsinspects locals at the breakpoint but never continues past a user breakpoint to completion; the async test only steps.get_outpute2e assertion in PR feat: forward adapter-process stdio as debuggee output events — Ruby all platforms, Rust on Windows (#222, #223) #254 was deliberately written to not require continuing past a breakpoint because of this quirk.start_debuggingis actually the Windows initial system stop being mislabeled — in the same session, the real user breakpoint was only reached after one continue (see skill note "Windows initial stop" in skills/debugging/references/rust.md:55).