Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
haneefdm committed Jul 5, 2024
2 parents 6236742 + 695fe9f commit c9786ca
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 28 deletions.
12 changes: 6 additions & 6 deletions binary_modules/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion debug_attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ If the type is marked as `{...}` it means that it is a complex item can have mul
| serialNumber | string | Both | J-Link or ST-LINK Serial Number - only needed if multiple J-Links/ST-LINKs are connected to the computer |
| serverArgs | string[] | Both | Additional arguments to pass to GDB Server command line |
| serverpath | string | Both | This setting can be used to override the GDB Server path user/workspace setting for a particular launch configuration. It is the full pathname to the executable or name of executable if it is in your PATH |
| servertype | string | Both | GDB Server type - supported types are jlink, openocd, pyocd, pe, stlink, stutil, qemu, bmp and external. For "external", [please read our Wiki](https://github.com/Marus/cortex-debug/wiki/External-gdb-server-configuration) |
| servertype | string | Both | GDB Server type - supported types are jlink, openocd, pyocd, pe, stlink, stutil, qemu, bmp and external. For "external", [please read our Wiki](https://github.com/Marus/cortex-debug/wiki/External-gdb-server-configuration). The executable in your PATH is used by default, to override this use serverpath. |
| showDevDebugOutput | string | Both | Used to debug this extension. Prints all GDB responses to the console. 'raw' prints gdb responses, 'parsed' prints results after parsing, 'both' prints both. 'vscode' shows raw and VSCode interactions |
| showDevDebugTimestamps | boolean | Both | Show timestamps when 'showDevDebugOutput' is enabled |
| stlinkPath | string | Both | Path to the ST-LINK_gdbserver executable. If not set then ST-LINK_gdbserver (ST-LINK_gdbserver.exe on Windows) must be on the system path. |
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@
"properties": {
"servertype": {
"type": "string",
"description": "GDB Server type - supported types are jlink, openocd, pyocd, pe, stlink, stutil, qemu, bmp and external. For \"external\", [please read our Wiki](https://github.com/Marus/cortex-debug/wiki/External-gdb-server-configuration)",
"description": "GDB Server type - supported types are jlink, openocd, pyocd, pe, stlink, stutil, qemu, bmp and external. For \"external\", [please read our Wiki](https://github.com/Marus/cortex-debug/wiki/External-gdb-server-configuration). The executable in your PATH is used by default, to override this use serverpath.",
"enum": [
"jlink",
"openocd",
Expand Down Expand Up @@ -1639,7 +1639,7 @@
"properties": {
"servertype": {
"type": "string",
"description": "GDB Server type - supported types are jlink, openocd, pyocd, pe, stlink, stutil, qemu, bmp and external. For \"external\", [please read our Wiki](https://github.com/Marus/cortex-debug/wiki/External-gdb-server-configuration)",
"description": "GDB Server type - supported types are jlink, openocd, pyocd, pe, stlink, stutil, qemu, bmp and external. For \"external\", [please read our Wiki](https://github.com/Marus/cortex-debug/wiki/External-gdb-server-configuration). The executable in your PATH is used by default, to override this use serverpath.",
"enum": [
"jlink",
"openocd",
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/swo/decoders/advanced.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class SWORTTAdvancedProcessor extends EventEmitter implements SWORTTDecod

public graphData(data: number, id: string) {
const message: GrapherDataMessage = { type: 'data', data: data, id: id };
this.emit('data', message);
this.emit('message', message);
}

public dispose() {
Expand Down
2 changes: 1 addition & 1 deletion src/openocd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ export class OpenOCDServerController extends EventEmitter implements GDBServerCo
const tclPortName = createPortName(0, 'tclPort');
const tclPortNum = this.ports[tclPortName];
const obj = {
host: 'localhost',
host: '127.0.0.1',
port: tclPortNum
};
this.tclSocket = net.createConnection(obj, () => {
Expand Down
34 changes: 18 additions & 16 deletions src/remote/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/remote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
},
"dependencies": {
"command-exists": "^1.2.9",
"ip": "^1.1.5",
"ip": "^1.1.9",
"vscode-jsonrpc": "^6.0.0"
}
}

0 comments on commit c9786ca

Please sign in to comment.