|
77 | 77 | "command": "cdt.debug.setOutputRadixToHex", |
78 | 78 | "category": "CDT-GDB", |
79 | 79 | "title": "Set Global Output Radix to Hex", |
80 | | - "enablement": "cdt.debug.outputRadix == 'decimal'" |
| 80 | + "enablement": "cdt.debug.outputRadix != 'hexadecimal'" |
81 | 81 | }, |
82 | 82 | { |
83 | 83 | "command": "cdt.debug.setOutputRadixToDecimal", |
84 | 84 | "category": "CDT-GDB", |
85 | 85 | "title": "Set Global Output Radix to Decimal", |
86 | | - "enablement": "cdt.debug.outputRadix == 'hexadecimal'" |
| 86 | + "enablement": "cdt.debug.outputRadix != 'decimal'" |
87 | 87 | }, |
88 | 88 | { |
89 | 89 | "title": "CDT-GDB: Set Hardware Breakpoint", |
|
900 | 900 | "debug/watch/context": [ |
901 | 901 | { |
902 | 902 | "command": "cdt.debug.setOutputRadixToHex", |
903 | | - "when": "inDebugMode && cdt.debug.outputRadix == 'decimal' && (debugType == gdb || debugType == gdbtarget)", |
| 903 | + "when": "inDebugMode && cdt.debug.outputRadix != 'hexadecimal' && (debugType == gdb || debugType == gdbtarget)", |
904 | 904 | "group": "z_commands" |
905 | 905 | }, |
906 | 906 | { |
907 | 907 | "command": "cdt.debug.setOutputRadixToDecimal", |
908 | | - "when": "inDebugMode && cdt.debug.outputRadix == 'hexadecimal' && (debugType == gdb || debugType == gdbtarget)", |
| 908 | + "when": "inDebugMode && cdt.debug.outputRadix != 'decimal' && (debugType == gdb || debugType == gdbtarget)", |
909 | 909 | "group": "z_commands" |
910 | 910 | } |
911 | 911 | ], |
912 | 912 | "debug/variables/context": [ |
913 | 913 | { |
914 | 914 | "command": "cdt.debug.setOutputRadixToHex", |
915 | | - "when": "inDebugMode && cdt.debug.outputRadix == 'decimal' && (debugType == gdb || debugType == gdbtarget)", |
| 915 | + "when": "inDebugMode && cdt.debug.outputRadix != 'hexadecimal' && (debugType == gdb || debugType == gdbtarget)", |
916 | 916 | "group": "z_commands" |
917 | 917 | }, |
918 | 918 | { |
919 | 919 | "command": "cdt.debug.setOutputRadixToDecimal", |
920 | | - "when": "inDebugMode && cdt.debug.outputRadix == 'hexadecimal' && (debugType == gdb || debugType == gdbtarget)", |
| 920 | + "when": "inDebugMode && cdt.debug.outputRadix != 'decimal' && (debugType == gdb || debugType == gdbtarget)", |
921 | 921 | "group": "z_commands" |
922 | 922 | } |
923 | 923 | ], |
924 | 924 | "editor/context": [ |
925 | 925 | { |
926 | 926 | "command": "cdt.debug.setOutputRadixToHex", |
927 | | - "when": "inDebugMode && cdt.debug.outputRadix == 'decimal' && (debugType == gdb || debugType == gdbtarget)", |
| 927 | + "when": "inDebugMode && cdt.debug.outputRadix != 'hexadecimal' && (debugType == gdb || debugType == gdbtarget)", |
928 | 928 | "group": "z_commands" |
929 | 929 | }, |
930 | 930 | { |
931 | 931 | "command": "cdt.debug.setOutputRadixToDecimal", |
932 | | - "when": "inDebugMode && cdt.debug.outputRadix == 'hexadecimal' && (debugType == gdb || debugType == gdbtarget)", |
| 932 | + "when": "inDebugMode && cdt.debug.outputRadix != 'decimal' && (debugType == gdb || debugType == gdbtarget)", |
933 | 933 | "group": "z_commands" |
934 | 934 | }, |
935 | 935 | { |
|
0 commit comments