Skip to content

Commit 25b73da

Browse files
Add svdPath field to OptionsSchema (#8316)
1 parent 4016be1 commit 25b73da

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

Extension/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1572,6 +1572,11 @@
15721572
"description": "%c_cpp.debuggers.cppdbg.visualizerFile.description%",
15731573
"default": ""
15741574
},
1575+
"svdPath": {
1576+
"type": "string",
1577+
"description": "%c_cpp.debuggers.cppdbg.visualizerFile.description",
1578+
"default": ""
1579+
},
15751580
"showDisplayString": {
15761581
"type": "boolean",
15771582
"description": "%c_cpp.debuggers.showDisplayString.description%",

Extension/package.nls.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@
213213
"c_cpp.debuggers.customLaunchSetupCommands.description": "If provided, this replaces the default commands used to launch a target with some other commands. For example, this can be \"-target-attach\" in order to attach to a target process. An empty command list replaces the launch commands with nothing, which can be useful if the debugger is being provided launch options as command line options. Example: \"customLaunchSetupCommands\": [ { \"text\": \"target-run\", \"description\": \"run target\", \"ignoreFailures\": false }].",
214214
"c_cpp.debuggers.launchCompleteCommand.description": "The command to execute after the debugger is fully setup in order to cause the target process to run. Allowed values are \"exec-run\", \"exec-continue\", \"None\". The default value is \"exec-run\".",
215215
"c_cpp.debuggers.cppdbg.visualizerFile.description": ".natvis file to be used when debugging this process. This option is not compatible with GDB pretty printing. Please also see \"showDisplayString\" if using this setting.",
216+
"c_cpp.debuggers.cppdbg.svdPath.description": "The full path to an embedded device's SVD file.",
216217
"c_cpp.debuggers.cppvsdbg.visualizerFile.description": ".natvis file to be used when debugging this process.",
217218
"c_cpp.debuggers.showDisplayString.description": "When a visualizerFile is specified, showDisplayString will enable the display string. Turning this option on can cause slower performance during debugging.",
218219
"c_cpp.debuggers.environment.description": "Environment variables to add to the environment for the program. Example: [ { \"name\": \"config\", \"value\": \"Debug\" } ], not [ { \"config\": \"Debug\" } ].",

Extension/tools/OptionsSchema.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@
118118
"default": {},
119119
"properties": {
120120
"name": {
121-
"type": "string"
121+
"type": "string"
122122
},
123123
"value": {
124-
"type": "string"
124+
"type": "string"
125125
}
126126
}
127127
},
@@ -254,8 +254,8 @@
254254
},
255255
"launchCompleteCommand": {
256256
"enum": [
257-
"exec-run",
258-
"exec-continue",
257+
"exec-run",
258+
"exec-continue",
259259
"None"
260260
],
261261
"description": "%c_cpp.debuggers.launchCompleteCommand.description%",
@@ -266,6 +266,11 @@
266266
"description": "%c_cpp.debuggers.cppdbg.visualizerFile.description%",
267267
"default": ""
268268
},
269+
"svdPath": {
270+
"type": "string",
271+
"description": "%c_cpp.debuggers.cppdbg.visualizerFile.description",
272+
"default": ""
273+
},
269274
"showDisplayString": {
270275
"type": "boolean",
271276
"description": "%c_cpp.debuggers.showDisplayString.description%",
@@ -748,4 +753,4 @@
748753
}
749754
}
750755
}
751-
}
756+
}

0 commit comments

Comments
 (0)