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

Method handleContinueFailed

src/gdb.ts:1659–1670  ·  view source on GitHub ↗
(info: MINode)

Source from the content-addressed store, hash-verified

1657 }
1658
1659 protected handleContinueFailed(info: MINode) {
1660 // Should we call exec-interrupt here? See #561
1661 // Once we get this, from here on, nothing really works with gdb.
1662 const msg = 'Error: A serious error occurred with gdb, unable to continue or interrupt We may not be able to recover ' +
1663 'from this point. You can try continuing or ending session. Must address root cause though';
1664 this.sendEvent(new GenericCustomEvent('popup', {type: 'error', message: msg}));
1665 this.handleMsg('stderr', msg + '\n');
1666 this.continuing = false;
1667 this.stopped = true;
1668 this.stoppedReason = 'continue failed';
1669 this.notifyStoppedConditional();
1670 }
1671
1672 protected findPausedThread(info: MINode) {
1673 if (info.outOfBandRecord && info.outOfBandRecord[0] && info.outOfBandRecord[0].output) {

Callers

nothing calls this directly

Calls 3

sendEventMethod · 0.95
handleMsgMethod · 0.95

Tested by

no test coverage detected