microsoft / microsoft/debug-adapter-protocol
Goto in disassembled code
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 1.8k
- Forks
- 173
- Avg merge
- 7d 7h
- Merged PRs (30d)
- 2
Description
CLion has the ability to Set Execution Point (Goto in terms of DAP) in disassembled code. I want to propose a new optional field instructionReference for GotoTargets request and DisassembledInstruction. This allows clients to easily implement this feature (e.g. sending GotoTargets request with instructionReference from the selected instruction and Goto after that). Also, we need new capability for that like supportsGotoInstruction. VS Code as a reference DAP implementation already has some buttons for instructions in disassembly view, so it should not be a lot of work to add this feature in UI.
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
Start by reviewing the DAP GotoTargets request and DisassembledInstruction definitions, then compare the existing disassembly controls in the linked CLion and VS Code references. Done means specifying the optional instructionReference fields and supportsGotoInstruction capability clearly enough for clients and adapters to implement execution-point navigation.
Written by the indexing model from the issue text.
Assessment
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100