Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug: read/write memory support #133643

Merged
merged 7 commits into from Jan 5, 2022
Merged

Conversation

connor4312
Copy link
Member

@connor4312 connor4312 commented Sep 22, 2021

This implements the core memory "model" for debugging that reflects
DAP, in debugModel.ts. It also implements a filesystem provider based
on that in debugMemory.ts, for application in the hex editor.

Finally it adds context menu items for these. This works with changes in
mock debug and microsoft/vscode-hexeditor#309

@connor4312 connor4312 added the debug Debug viewlet, configurations, breakpoints, adapter issues label Sep 22, 2021
@connor4312 connor4312 added this to the September 2021 milestone Sep 22, 2021
@connor4312 connor4312 self-assigned this Sep 22, 2021
@alexr00 alexr00 modified the milestones: October 2021, November 2021 Nov 8, 2021
@alexr00
Copy link
Member

alexr00 commented Nov 8, 2021

Moving to November since this wasn't merged in October.

@weinand weinand added the feature-request Request for new features or functionality label Nov 8, 2021
This implements the core memory "model" for debugging that reflects
DAP, in `debugModel.ts`. It also implements a filesystem provider based
on that in `debugMemory.ts`, for tentative application in the hex editor.

Finally it adds context menu items for these. This works with changes in
mock debug, but for some reason reopening the ".bin" file in the hex
editor results in a blank editor. Still need to look at that.

Ultimately though, as indicated in #126268, we'll probably want custom
commands for the hex editor to call as low level read/write is not
supported in the stable API. Also, the file API doesn't represent the
"unreadable" ranges which DAP supports.
@connor4312 connor4312 changed the title debug: initial work on memory support debug: read/write memory support Dec 31, 2021
@connor4312 connor4312 merged commit a19eb0a into main Jan 5, 2022
@connor4312 connor4312 deleted the connor4312/debug-read-memory branch January 5, 2022 00:41
@github-actions github-actions bot locked and limited conversation to collaborators Feb 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants