microsoft / microsoft/debug-adapter-protocol

Goto in disassembled code

Open
#577 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.