Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
bd86bf7
[Priroda] Extract CLI command result rendering
moabo3li Jul 29, 2026
dc9f04e
[Priroda] Add initial DAP frontend selection
moabo3li Jul 29, 2026
9f93749
[Priroda] Add DAP UI fixtures
moabo3li Jul 29, 2026
39dcd10
[Priroda] Split debugger frontends into modules
moabo3li Jul 29, 2026
ef07d96
[Priroda] Add minimal DAP initialize handshake
moabo3li Jul 29, 2026
6b61bb8
[Priroda] Add DAP initialized and launch handshake
moabo3li Jul 31, 2026
f23c7c9
[Priroda] Handle DAP configurationDone startup request
moabo3li Jul 31, 2026
7d65dc7
[Priroda] Handle DAP threads request
moabo3li Jul 31, 2026
4b2ce62
[Priroda] Handle DAP stackTrace request
moabo3li Aug 1, 2026
86093d1
[Priroda] Add core debugger stop-at-first-user-location
moabo3li Aug 1, 2026
8f2e76d
[Priroda] Wire DAP to interpreter lifecycle and stopped event
moabo3li Aug 1, 2026
dd7e2bd
[Priroda] Report current DAP stack frame
moabo3li Aug 1, 2026
676d16f
[Priroda] Add DAP locals scope and variables
moabo3li Aug 1, 2026
ecadcc6
[Priroda] Add bounded DAP source-line stepping demo
moabo3li Aug 2, 2026
cdc751b
[Priroda] Return Continue instead of Exit for unsupported DAP requests
moabo3li Aug 2, 2026
8e9c7f1
[Priroda] Document DAP prototype in README
moabo3li Aug 2, 2026
bb39e52
[Priroda] Translate interpreter exits into DAP events
moabo3li Aug 2, 2026
43dfd5c
[Priroda] Track DAP lifecycle state and validate request ids
moabo3li Aug 2, 2026
228d402
[Priroda] Add DAP negative protocol fixtures
moabo3li Aug 2, 2026
1ee03cd
[Priroda] Use bug! for dispatch-guaranteed DAP invariants
moabo3li Aug 2, 2026
6b4b46c
[Priroda] Resolve macro-backed spans to their callsite
moabo3li Aug 2, 2026
b3cbe78
[Priroda] Handle DAP continue request
moabo3li Aug 2, 2026
bae3ff7
[Priroda] Handle DAP setBreakpoints request
moabo3li Aug 2, 2026
6be13fe
[Priroda] Advertise single-thread execution + unbounded loop
moabo3li Aug 2, 2026
aae0ccb
[Priroda] Normalise DAP Content-Length in test output
moabo3li Aug 3, 2026
d2a2e66
[Priroda] render interpreter errors via InterpError::to_string
moabo3li Aug 5, 2026
7270f42
[Priroda] exhaustively list every DAP Command in dispatch and display
moabo3li Aug 5, 2026
f0d383c
[Priroda] route DAP request arguments into handlers, add setBreakpoin…
moabo3li Aug 5, 2026
607b518
[Priroda] fill DAP Locals scope source position from current frame
moabo3li Aug 5, 2026
a3dae21
[Priroda] rework DAP dispatch return type for bubble-up rejections
moabo3li Aug 5, 2026
1710068
[Priroda] drop redundant termination guards in DAP handlers
moabo3li Aug 5, 2026
b0ade07
[Priroda] bubble predicate failures through HandlerError
moabo3li Aug 5, 2026
180d7bf
[Priroda] pass thread_id by value into require_thread_id
moabo3li Aug 5, 2026
ffa03ae
[Priroda] centralize DAP response sends in run_requests
moabo3li Aug 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions priroda/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions priroda/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ name = "cli"
harness = false

[dependencies]
emmy_dap_types = "0.2.0"
miri = { path = ".." }

[package.metadata.rust-analyzer]
Expand Down
12 changes: 12 additions & 0 deletions priroda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@ from `miri/priroda/`:
cargo run -- ../tests/pass/empty_main.rs
```

## DAP Prototype

Priroda's `--dap` mode speaks a bounded Debug Adapter Protocol prototype over
stdio. It currently supports the startup handshake, stops at the first
user-relevant source location after `configurationDone`, reports one current
stack frame, exposes one flat Locals scope, and maps `list_locals()` into DAP
variables with no child expansion.

The `next` and `stepIn` requests are wired to Priroda's existing source-line
step so VS Code can drive one visible step. They are not true DAP step-over or
step-in semantics yet.

## Test

Priroda's CLI tests also need `MIRI_SYSROOT`. Run them from `miri/priroda/`:
Expand Down
Loading