-
Notifications
You must be signed in to change notification settings - Fork 118
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
Add a register view #242
Add a register view #242
Conversation
That looks like a neat idea. Checking the discussion within multiple vscode extensions the separate register panel was "dropped"; instead the "way to go" is using the Variable panel. For "old" vscode versions this means to add a "virtual" variable "Registers" with those beneath the local variables; newer versions (not checked which one exactly) can return those with "Register" scope and vscode will do the right thing. Could you please inspect to:
|
Any chance this gets merged soon? It would be really helpful! |
probably not unless someone puts in the work to bring it up to date with the current extension and vscode capabilities. If you want to give it a try, we can help you if you run into issues. you can find a guide on working on the project here: https://github.com/WebFreak001/code-debug/blob/master/HACKING.md (it's even fairly recent, thanks @GitMensch!) |
Grüß Gott, |
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #242 +/- ##
==========================================
- Coverage 21.30% 20.89% -0.41%
==========================================
Files 14 14
Lines 1737 1771 +34
Branches 375 381 +6
==========================================
Hits 370 370
- Misses 1322 1356 +34
Partials 45 45 ☔ View full report in Codecov by Sentry. |
I've found some time to update this to work with the latest DAP. |
thanks for tackling this again! |
Thank you very much @nomtats ! |
@nomtats @WebFreak001 one question, if I may: How do you manage to get always hex output? For me its a mix of decimal and hex when setting "valuesFormatting": "prettyPrinters" in launch.json |
@jbreu it uses 'data-list-register-values N' to retrieve register values where 'N' means "natural format". In another word, it's whatever GDB feels like. |
hi guys, what about add |
Hi,
I've added a register view using a TreeView.
It doesn't distinguish GPR from the other types of registers at all.
Let me know if you think this is acceptable.