-
Notifications
You must be signed in to change notification settings - Fork 813
Description
Discussed in #1783
Originally posted by mpetronic September 17, 2021
I have the same vscode version installed on two workstations (versions below).
On the Linux one, when I debug and stop at a break point in a method in Go, I see a COLLPSED "Locals" drop down that I must click to expand. I need to ALWAYS click to expand every time I start a new debug session. Not a show stopper but I think the UI should remember my intentions and repeat for me. Also, my method args show up under an "Arguments" dropdown that is separate from the "Locals" variables dropdown.
However, when I do the exact same thing on Windows VSCode, the "Local" dropdown is NOT COLLAPSED as it automatically expands when the debug session restarts every time. This is the behavior that I believe should be the default. Also, ALL the variables (func args and locals) ALL show up under the ONE "Local" dropdown. Note that here it is called "Local" but on Linux it is called "Locals"
I surmise that, although I have the same version installed in both workstations, there are differences that are not aligned between the Windows and Linux builds of the app. One even says "Locals" while the other says "Local".
My question was how can I get the auto-expanding of local variables to work on Linux like it does on Windows thinking that there might be some configuration difference that I cannot find. If anyone knows of such a config, I would be grateful for the tip. Otherwise, do you suggest I open an issue to try to get these differences in behavior reconciled?
Thanks for any suggestions.
Version: 1.60.1 (user setup)
Commit: 83bd43bc519d15e50c4272c6cf5c1479df196a4d
Date: 2021-09-10T17:07:10.714Z
Electron: 13.1.8
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19043
Version: 1.60.1
Commit: 83bd43bc519d15e50c4272c6cf5c1479df196a4d
Date: 2021-09-10T17:06:57.931Z
Electron: 13.1.8
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 4.18.0-305.3.1.el8_4.x86_64