It would be a nice feature if users can change the value format of different variables and expressions. In order to do so, the following features has to be in place:
-
A command should be added for changing the global radix of the current GDB session. That in turn would need 2 PRs:
- in the vscode extension in which we add the command that sends in turn an evaluate request with the GDB command
set output-radix.
- in the debug adapter, send an
invalidate event that would prompt vscode to refresh all shown variables and expressions.
-
Add some granularity in which users can change the radix of single expressions and variables. This would also require changes in the vscode extension and the adapter:
- for the vscode extension, we would have to create a layer between the client and the adapter which sets the value of
format in the arguments of VariablesRequest and EvaluateRequests as vscode doesn't do it itself.
- for the adapter, we need to change it so that it can handle the format property
It would be a nice feature if users can change the value format of different variables and expressions. In order to do so, the following features has to be in place:
A command should be added for changing the global radix of the current GDB session. That in turn would need 2 PRs:
set output-radix.invalidateevent that would prompt vscode to refresh all shown variables and expressions.Add some granularity in which users can change the radix of single expressions and variables. This would also require changes in the vscode extension and the adapter:
formatin the arguments ofVariablesRequestandEvaluateRequestsas vscode doesn't do it itself.