-
I am using vscode under Debian 10, Xfce 4 Version: 1.60.1 I am unable to see the values in maps in a two-level nested struct. I can see values in slices/arrays, but not maps. It seems to be any kind of map. If there is a reference to the nested struct, I am able to drill down into it to see the map values. Run the following code, placing a breakpoint on the fmt.Println line
Is this a known behavior of vscode? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
This is a known limitation of the legacy debug adapter. To change the levels of variables to recurse you can change The new debug adapter automatically loads variables to allow users to drill in to nested variables. If you are using local debugging, we recommend switching to the new debug adapter using the setting "debugAdapter": "dlv-dap". The |
Beta Was this translation helpful? Give feedback.
-
Duplicate of #135 |
Beta Was this translation helpful? Give feedback.
This is a known limitation of the legacy debug adapter. To change the levels of variables to recurse you can change
maxVariableRecurse
in dlvLoadConfigThe new debug adapter automatically loads variables to allow users to drill in to nested variables. If you are using local debugging, we recommend switching to the new debug adapter using the setting "debugAdapter": "dlv-dap". The
remote attach
request is a work in progress in the new debug adapter and documentation can be found here.