()
| 320 | // established an RTT TCP port already |
| 321 | private readonly rttSearchStr = 'Control block found at'; |
| 322 | public rttPoll(): void { |
| 323 | OpenOCDLog('RTT Poll requested'); |
| 324 | if (!this.rttStarted && (this.tclSocket === undefined) && (this.args.rttConfig.rtt_start_retry > 0) && !this.rttAutoStartDetected) { |
| 325 | OpenOCDLog(`RTT Poll starting. Searching for string '${this.rttSearchStr}' in output`); |
| 326 | this.rttPollStart(); |
| 327 | } else { |
| 328 | OpenOCDLog('RTT Poll not needed'); |
| 329 | } |
| 330 | } |
| 331 | |
| 332 | private startRttMonitor() { |
| 333 | this.session.miDebugger.on('msg', (type, msg) => { |
nothing calls this directly
no test coverage detected