Skip to content

Implement DAP for muon#251

Draft
annacrombie wants to merge 21 commits into
masterfrom
dap
Draft

Implement DAP for muon#251
annacrombie wants to merge 21 commits into
masterfrom
dap

Conversation

@annacrombie
Copy link
Copy Markdown
Collaborator

This also comes with overall debugging improvements, including lots to how stepping works.

annacrombie added 11 commits May 3, 2026 21:59
all breaking is now done with a single bytecode instruction: op_dbg_break

This means that the vm doesn't need to poll all breakpoints before
executing each instruction, but stepping is a little more complicated.

This is still kinda broken
So that you can line them up with output from the running vm
skeeto and others added 5 commits May 10, 2026 09:37
Allows front ends pause on the first line.
Bring back command line debugging since I feel like it is still somewhat
useful.

Since the DAP flag is more of an internal thing (users won't typically
be typing it on the command line), use capital B for it.
This makes breakpoint resolution consistent.
It was being set wrong anyway
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.

2 participants