microsoft / microsoft/debug-adapter-protocol

Read/WriteMemory access width parameter addition

Open
#348 2 comments 0 reactions 2 assignees View on GitHub

@connor4312 is already working on this.

Since Nov 7, 2022.

under-discussion
Dominant language
HTML
Stars
1.8k
Forks
173
Avg merge
7d 7h
Merged PRs (30d)
2

Description

Use-case: As an author of embedded tooling, I would like to be able to set granular access width of memory operations, in incrementing bits. This is because many embedded devices have memory areas that can only be accessed using a specific sized memory access operation. The debug adapter can sometimes determine the correct access width however without full context, this is not always possible.

Recommend the following adding to both ReadMemory and WriteMemory:

    /**
     * Specifies the memory access width in bits. Valid values: 8, 16, 32, 64.
     * If not specified, the debugger will determine an appropriate access width.
     */
    width?: number;

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.