Skip to content

Add a command that allow users to change GDB session radix #201

@omarArm

Description

@omarArm

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:

  1. A command should be added for changing the global radix of the current GDB session. That in turn would need 2 PRs:

    1. in the vscode extension in which we add the command that sends in turn an evaluate request with the GDB command set output-radix.
    2. in the debug adapter, send an invalidate event that would prompt vscode to refresh all shown variables and expressions.
  2. 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:

    1. 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.
    2. for the adapter, we need to change it so that it can handle the format property

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions