Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to adapter 0.0.30 (cwd, environment and complex vars) #100

Merged
merged 1 commit into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 72 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,21 @@
"description": "Path to gdb",
"default": "gdb"
},
"cwd": {
"type": "string",
"description": "Working directory (cwd) to use when launching gdb. Defaults to the directory of the 'program'"
},
"environment": {
"additionalProperties": {
"type": [
"string",
"null"
]
},
"default": {},
"description": "Environment variables to use when launching gdb, defined as a key-value pairs. Use null value to remove variable. For example:\n\"environment\": {\n \"VARNAME\": \"value\",\n \"PATH\": \"/new/item:${env:PATH}\",\n \"REMOVEME\": null\n}",
"type": "object"
},
"program": {
"type": "string",
"description": "Path to the program to be launched",
Expand Down Expand Up @@ -126,6 +141,21 @@
"description": "Path to gdb",
"default": "gdb"
},
"cwd": {
"type": "string",
"description": "Working directory (cwd) to use when launching gdb. Defaults to the directory of the 'program'"
},
"environment": {
"additionalProperties": {
"type": [
"string",
"null"
]
},
"default": {},
"description": "Environment variables to use when launching gdb, defined as a key-value pairs. Use null value to remove variable. For example:\n\"environment\": {\n \"VARNAME\": \"value\",\n \"PATH\": \"/new/item:${env:PATH}\",\n \"REMOVEME\": null\n}",
"type": "object"
},
"program": {
"type": "string",
"description": "Path to the program to be debugged",
Expand Down Expand Up @@ -211,6 +241,21 @@
"description": "Path to gdb",
"default": "gdb"
},
"cwd": {
"type": "string",
"description": "Working directory (cwd) to use when launching gdb. Defaults to the directory of the 'program'"
},
"environment": {
"additionalProperties": {
"type": [
"string",
"null"
]
},
"default": {},
"description": "Environment variables to use when launching gdb, defined as a key-value pairs. Use null value to remove variable. For example:\n\"environment\": {\n \"VARNAME\": \"value\",\n \"PATH\": \"/new/item:${env:PATH}\",\n \"REMOVEME\": null\n}",
"type": "object"
},
"program": {
"type": "string",
"description": "Path to the program to be launched",
Expand Down Expand Up @@ -313,6 +358,17 @@
"description": "Specifies the working directory of server (defaults to the working directory of gdb)",
"default": ""
},
"environment": {
"additionalProperties": {
"type": [
"string",
"null"
]
},
"default": {},
"description": "Environment variables to use when launching server (defaults to the environment used to launch gdb), defined as a key-value pairs. Use null value to remove variable. For example:\n\"environment\": {\n \"VARNAME\": \"value\",\n \"PATH\": \"/new/item:${env:PATH}\",\n \"REMOVEME\": null\n}",
"type": "object"
},
"server": {
"type": "string",
"description": "The executable for the target server to launch (e.g. gdbserver or JLinkGDBServerCLExe) (defaults to gdbserver)",
Expand Down Expand Up @@ -426,6 +482,21 @@
"description": "Path to gdb",
"default": "gdb"
},
"cwd": {
"type": "string",
"description": "Working directory (cwd) to use when launching gdb. Defaults to the directory of the 'program'"
},
"environment": {
"additionalProperties": {
"type": [
"string",
"null"
]
},
"default": {},
"description": "Environment variables to use when launching gdb, defined as a key-value pairs. Use null value to remove variable. For example:\n\"environment\": {\n \"VARNAME\": \"value\",\n \"PATH\": \"/new/item:${env:PATH}\",\n \"REMOVEME\": null\n}",
"type": "object"
},
"program": {
"type": "string",
"description": "Path to the program to be debugged",
Expand Down Expand Up @@ -668,7 +739,7 @@
},
"dependencies": {
"cdt-amalgamator": "^0.0.11",
"cdt-gdb-adapter": "^0.0.28",
"cdt-gdb-adapter": "^0.0.30",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -604,10 +604,10 @@ cdt-amalgamator@^0.0.11:
"@vscode/debugadapter-testsupport" "^1.59.0"
"@vscode/debugprotocol" "^1.59.0"

cdt-gdb-adapter@^0.0.28:
version "0.0.28"
resolved "https://registry.yarnpkg.com/cdt-gdb-adapter/-/cdt-gdb-adapter-0.0.28.tgz#6170bd6f7c2a8a94ed44b630ae545fe819027056"
integrity sha512-iMrGLxGL7XL6364LRUBSfIT8DMIOkOsnE7/qIQO2Th7GhsHs39vXjKOMToJVsUWU0nGspT9xkJ+xX30F7HHWUQ==
cdt-gdb-adapter@^0.0.30:
version "0.0.30"
resolved "https://registry.yarnpkg.com/cdt-gdb-adapter/-/cdt-gdb-adapter-0.0.30.tgz#ccefb4c7f4bc86f233584627d963b1904fdd6033"
integrity sha512-EDbAo5kfG06jtLh/BOViuI0CK40nlcqEYpl8+9DqpZr1dv0v64EmwZNu25OYQ5MXL1j/ohBVhO1E43FhfJIx6A==
dependencies:
"@vscode/debugadapter" "^1.59.0"
"@vscode/debugprotocol" "^1.59.0"
Expand Down