Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Implement DAP protocol in Nargo #3627

Merged
merged 22 commits into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
3693eb6
feat: empty skeleton for dap command
ggiraldez Nov 6, 2023
01ad804
feat: map errors from Dap into CliErrors and start basic server loop
ggiraldez Nov 7, 2023
422d13f
WIP
ggiraldez Nov 10, 2023
fcf43c1
WIP: next, continue and disassembly view
ggiraldez Nov 14, 2023
cff989e
feat: rewrite offset_opcode_location and add unit tests
ggiraldez Nov 17, 2023
e1da132
feat: render the circuit and Brillig opcodes for disassembled view
ggiraldez Nov 18, 2023
5a1877c
chore: refactor dap_cmd for readability
ggiraldez Nov 18, 2023
e3f3d4f
chore: refactor, move DAP implementation into a new file
ggiraldez Nov 18, 2023
2fc41cb
chore: extract stack trace and disassemble handlers
ggiraldez Nov 20, 2023
b0be45b
chore: revert backend-interface crate rename
ggiraldez Nov 20, 2023
9b1d251
chore: remove unneeded dependency
ggiraldez Nov 20, 2023
a650368
feat: implement instruction and source breakpoints
ggiraldez Nov 24, 2023
27cb858
feat: handle breakpoints correctly and emit events when they are reached
ggiraldez Nov 27, 2023
588c681
feat: handle stepping granularity
ggiraldez Nov 27, 2023
8aa9327
chore: cargo fmt & clippy
ggiraldez Nov 29, 2023
5315992
Apply suggestions from code review
ggiraldez Dec 12, 2023
6a52ab2
chore: fix compilation errors and improve some comments
ggiraldez Dec 12, 2023
46632a8
Merge remote-tracking branch 'upstream/master' into dap
ggiraldez Dec 14, 2023
ebbcdb3
Merge remote-tracking branch 'upstream/master' into dap
ggiraldez Dec 19, 2023
51238e1
chore: fix compilation errors after merge
ggiraldez Dec 19, 2023
a1bad3f
Merge remote-tracking branch 'upstream/master' into dap
ggiraldez Dec 19, 2023
cbda305
chore: fix test compilation
ggiraldez Dec 19, 2023
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
16 changes: 16 additions & 0 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ gloo-utils = { version = "0.1", features = ["serde"] }
js-sys = "0.3.62"
getrandom = "0.2"

# Debugger
dap = "0.4.1-alpha1"

cfg-if = "1.0.0"
clap = { version = "4.3.19", features = ["derive"] }
Expand Down
4 changes: 4 additions & 0 deletions tooling/debugger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ acvm.workspace = true
nargo.workspace = true
noirc_printable_type.workspace = true
noirc_errors.workspace = true
noirc_driver.workspace = true
fm.workspace = true
thiserror.workspace = true
codespan-reporting.workspace = true
dap.workspace = true
easy-repl = "0.2.1"
owo-colors = "3"
serde_json.workspace = true
Loading
Loading