microsoft / microsoft/debug-adapter-protocol
Extending time-traveling related entities
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 1.8k
- Forks
- 173
- Avg merge
- 7d 7h
- Merged PRs (30d)
- 2
Description
I'm working on an adapter for debugging JavaScript, among other features it supports time traveling and implements everything DAP provides, however, this feels a bit incomplete. There are two features I want to propose.
Namely, then debugging using it I miss reverse commands for next and stepOut. Or maybe I missed how they should be enabled.
Another big thing would be the ability to click on the console output message and the IDE opens the full state of the program at the time when the statement was executed. Like now this opens the location with the corresponding source (of console.log call or logpoint). For this adapters could send optional targetId in OutputEvent. And later on, click on that line the editor could send GotoTarget with the targetId.
Note, these are useful not only for my adapter. Firefox Replay implements the features too, so if someone decides to integrate the Replay into Code they will need the protocol extensions too.
Thanks, here is my adapter I want to extend - effectful.debugger
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository files, tests, or entry points are named. Start by reviewing the DAP protocol around reverse stepping, OutputEvent, and the proposed GotoTarget flow, then compare the needs described for effectful.debugger and Firefox Replay. Done would require an agreed protocol design and corresponding implementation scope.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100