-
Notifications
You must be signed in to change notification settings - Fork 16
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
[Feature]: Show contents of string variables in debug mode #55
Comments
Right now we are working on a brand new debugger and way to interact with IDL. Part of this will include a brand new "hover help" user experience when debugging, amongst other things. This will likely change quite a bit compared to how it works today, but in general it will show:
It will be a bit before this gets integrated into the extension (Q1-Q2 2025 depending on a few things we have going right now), but I'll let you know once we get there! |
Not sure I understand your response, whether it's just about added functionality compared to current functionality, or replacements. Will local variables still be shown on the left, with string variable contents shown? Re: "If you have a string literal we show this value today". If do this:
then in te left hand column it's listed only as "b = string, string" (for me at least). The value is visible in the code, though ;-) PS: THANKS for this effort, including the rapid responses. I'm thrilled that it seems I can jump from Emacs to VSCode for IDL editing, the last holdout (I use Javascript, C, Perl, PHP, bash, tcsh etc. in VSCode). Not only an end to frustrating switches between key bindings, but it also means I can use Copilot for IDL! I've gotten soo used to Copilot that I very often can predict when its suggestion will come and when it will be correct, so I complete a line manually, hit enter, and then PAUSE while waiting for the suggestion. But in Emacs, the suggestion never comes. Yikes ;-). |
Ah, sorry for the confusion. I'm referencing a small detail in VSCode which changes how hover help behaves with/without a debug session running. Without a debug session, you would see this for a hard-coded string: When debug sessions are running, and you are in the current scope, it looks like this: Specifically, I'm saying that we will likely:
|
Description
It would be nice to be able to see the contents of local string variables in debug mode
Why it Matters
Seeing the contents of a string variable is useful...
Suggested Behavior
In the local variables list in debug mode, show the contents of string variables. They are currently just shown as
It would be more useful to see the contents, e.g.,:
As a corollary, it would be nice to also see (a few) entries in arrays, not just
But:
Alternate Behavior
No response
The text was updated successfully, but these errors were encountered: