MCPcopy Create free account
hub / github.com/Marus/cortex-debug / rttPoll

Method rttPoll

src/openocd.ts:322–330  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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) => {

Callers

nothing calls this directly

Calls 2

rttPollStartMethod · 0.95
OpenOCDLogFunction · 0.85

Tested by

no test coverage detected