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

Method stopEvent

src/gdb.ts:1824–1836  ·  view source on GitHub ↗
(info: MINode, reason: string = 'exception')

Source from the content-addressed store, hash-verified

1822 }
1823
1824 protected stopEvent(info: MINode, reason: string = 'exception') {
1825 if (!this.quit) {
1826 this.continuing = false;
1827 this.stopped = true;
1828 this.stoppedReason = reason;
1829 this.findPausedThread(info);
1830 if ((reason === 'entry') && this.args.noDebug) {
1831 // Do not notify the front-end if no-debug is active and it is the entry point. Or else, pass it on
1832 } else {
1833 this.notifyStoppedConditional();
1834 }
1835 }
1836 }
1837
1838 protected quitEvent(type?: string, msg?: string) {
1839 this.quit = true;

Callers

nothing calls this directly

Calls 2

findPausedThreadMethod · 0.95

Tested by

no test coverage detected