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

VS Code's generic debugger now supports viewing and editing binary data #595

Closed
hongshui3000 opened this issue Feb 7, 2022 · 5 comments
Closed

Comments

@hongshui3000
Copy link

hongshui3000 commented Feb 7, 2022

Will cortex debug be updated accordingly?
https://code.visualstudio.com/updates/v1_64#_viewing-and-editing-binary-data

@haneefdm
Copy link
Collaborator

haneefdm commented Feb 7, 2022

We already have it. It is called Memory View. Based on addresses (which can be C expressions).

We are waiting for a new GUI for it coming from MS. See my TODO list. I modified the MS Hex editor they used, fixed a couple of issues but then they changed the GUI to use the side panel and the debug experience went to hell. MS debugger people are trying to integrate it into the debugger as well.

So, use what we have for right now. It has been there for more than three years now

@haneefdm haneefdm closed this as completed Feb 7, 2022
@hongshui3000
Copy link
Author

I have nothing to complain about MEM view, it's good enough. I'm looking forward to MEM write/edit. The MEM view is currently read-only

@haneefdm
Copy link
Collaborator

haneefdm commented Feb 8, 2022

Yes, I am waiting for MS to add it properly and I am thinking they will do it very soon. We don't have the resources to do GUI stuff. Creating editors is something I am not doing. Priority is less than zero for me.

microsoft/vscode#126268

In the meantime, use GDB commands in the Debug Console.

@hongshui3000
Copy link
Author

hongshui3000 commented Feb 8, 2022

image
vscode January 2022 (version 1.64)
Looks like their latest release already supports editing?

@haneefdm
Copy link
Collaborator

haneefdm commented Feb 8, 2022

Yes, that is good news. I was thinking it would be here in Dec. So, I will add it to the queue, give it a couple of releases for it to mature. They make monthly releases.

Unlike the disassembly, I really doubt they did the memory view like all the other debuggers -- the ability to have multiple memory views. We will see.

We have had the main part of the protocol part done for a couple of years now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants