We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b91b6d7 + 6a330c2 commit b020c8aCopy full SHA for b020c8a
src/pyocd-server.ts
@@ -36,7 +36,7 @@ export class PyocdServer extends AbstractServer {
36
protected progress = 0;
37
38
public resolveGdbPort(port: number): number {
39
- if (this.args.gdbCore) {
+ if (this.args.gdbCore && this.args.gdbCore > 0) {
40
// PyOCD starts each core on a subsequent port
41
// (e.g. core 0 on starting port, core 1 on starting port +1, etc.)
42
port += this.args.gdbCore;
0 commit comments