We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5da00c2 commit 33ddc46Copy full SHA for 33ddc46
1 file changed
src/GdbDebugTracker.ts
@@ -30,7 +30,8 @@ export class GdbDebugTracker {
30
onWillReceiveMessage: (message) => {
31
// Check if the message is an evaluate request. If so, add property format to it
32
if (message.command === 'evaluate' && message.type === 'request' && this.valueFormatSupported) {
33
- if (message.arguments.expression.trim().endsWith(',x')) {
+ // Check for spaces between the expression and the ',x', for example 'myVar , x' should also be supported
34
+ if (message.arguments.expression.trim().endsWith(',x') || message.arguments.expression.trim().endsWith(', x')) {
35
message.arguments.format = {
36
// Add all the formats you want to support here
37
hex: true,
0 commit comments