From 3b28298a602663dae99623fa1b74e162d8990632 Mon Sep 17 00:00:00 2001 From: Omar Elkhouly Date: Mon, 11 May 2026 18:45:47 +0200 Subject: [PATCH 1/2] adding commands to change output radix to liveWatch --- package.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/package.json b/package.json index 1cf628d5..3d6c99b3 100644 --- a/package.json +++ b/package.json @@ -488,6 +488,16 @@ "when": "view == cmsis-debugger.liveWatch", "group": "contextMenuG3@1" }, + { + "command": "cdt.debug.setOutputRadixToDecimal", + "when": "(view == cmsis-debugger.liveWatch) && inDebugMode && cdt.debug.outputRadix != 'decimal' && (debugType == gdb || debugType == gdbtarget)", + "group": "contextMenuG4@1" + }, + { + "command": "cdt.debug.setOutputRadixToHex", + "when": "(view == cmsis-debugger.liveWatch) && inDebugMode && cdt.debug.outputRadix != 'hexadecimal' && (debugType == gdb || debugType == gdbtarget)", + "group": "contextMenuG4@2" + }, { "command": "vscode-cmsis-debugger.componentViewer.lockComponent", "when": "view == cmsis-debugger.componentViewer && viewItem == parentInstance", From 630f46d26dbbac67671f24fa4ee05ddc8ed2880a Mon Sep 17 00:00:00 2001 From: Omar Elkhouly <152891311+omarArm@users.noreply.github.com> Date: Tue, 12 May 2026 12:49:59 +0200 Subject: [PATCH 2/2] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3d6c99b3..138a2ae7 100644 --- a/package.json +++ b/package.json @@ -490,12 +490,12 @@ }, { "command": "cdt.debug.setOutputRadixToDecimal", - "when": "(view == cmsis-debugger.liveWatch) && inDebugMode && cdt.debug.outputRadix != 'decimal' && (debugType == gdb || debugType == gdbtarget)", + "when": "(view == cmsis-debugger.liveWatch) && inDebugMode && cdt.debug.outputRadix && cdt.debug.outputRadix != 'decimal' && (debugType == 'gdb' || debugType == 'gdbtarget')", "group": "contextMenuG4@1" }, { "command": "cdt.debug.setOutputRadixToHex", - "when": "(view == cmsis-debugger.liveWatch) && inDebugMode && cdt.debug.outputRadix != 'hexadecimal' && (debugType == gdb || debugType == gdbtarget)", + "when": "(view == cmsis-debugger.liveWatch) && inDebugMode && cdt.debug.outputRadix && cdt.debug.outputRadix != 'hexadecimal' && (debugType == 'gdb' || debugType == 'gdbtarget')", "group": "contextMenuG4@2" }, {