Hi
The Local Wactch window is in decimal. How can I convert it to hexadecimal?
Hi Asuna,
This is still an open issue in CMSIS-Debugger:https://github.com/Open-CMSIS-Pack/vscode-cmsis-debugger/issues/740Please subscribe to follow up on the issue. As a temporary workaround, you can set output-radix in the launch.json file. This will convert all values into hexadecimal: "initCommands": [ "set output-radix 16", "monitor reset halt", "tbreak main" ],To prevent the setting from being overwritten, remember to set "updateConfiguration" to "manual."
Alternatively, you can also set it in the Debug Console:github.com/.../tipsandtricks.md
Hi Jen-Tse Huang
I tried changing the launch.json file to "set output-radix 16" and "updateConfiguration" to "manual".
But it doesn't result in a hexadecimal number.
What's the problem?
The launch.json file is in the .vscode folder.
I also have settings.json and tasks.json.
Is it correct to modify this launch.json file?
On my side this works as expected. And your setting in the launch.json file looks fine.
Could you please confirm whether you can also see the 'Set' command being called in the Debug Console? This would indicate that the command is actually being applied by GDB.
If not, then the issue is likely that the launch.json being modified is not the one used by the active workspace. I’m not sure about your exact folder structure, but please make sure you remove other unnecessary .vscode folder and are editing the .vscode/launch.json file under the currently opened VS Code workspace, rather than another project directory.
set output-radix16 is not displayed.
The .vscode folder is the current folder.
Can you think of any other factors?
I tried it today and it displayed in hexadecimal!!