()
| 127 | |
| 128 | public readonly defaultRttPort = 19021; |
| 129 | public allocateRTTPorts(): Promise<void> { |
| 130 | // JLink only support one TCP port and that too for channel 0 only. The config provider |
| 131 | // makes sure that the rttConfig conforms. |
| 132 | if (this.args.rttConfig && this.args.rttConfig.enabled && (!this.args.rttConfig.decoders || (this.args.rttConfig.decoders.length === 0))) { |
| 133 | return Promise.resolve(); |
| 134 | } else { |
| 135 | return this.rttHelper.allocateRTTPorts(this.args.rttConfig, this.defaultRttPort); |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | public serverArguments(): string[] { |
| 140 | const gdbport = this.ports['gdbPort']; |
nothing calls this directly
no test coverage detected