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

Method doPauseExecContinue

src/gdb.ts:2002–2011  ·  view source on GitHub ↗
(createBreakpoints: () => Promise<void>, pendContinue: PendingContinue)

Source from the content-addressed store, hash-verified

2000 }
2001
2002 private async doPauseExecContinue(createBreakpoints: () => Promise<void>, pendContinue: PendingContinue) {
2003 if (this.miDebugger.status !== 'running') { // May not even have started just yet
2004 await createBreakpoints();
2005 } else {
2006 this.disableSendStoppedEvents = true;
2007 pendContinue.shouldContinue = true;
2008 this.miDebugger.once('generic-stopped', () => { createBreakpoints(); });
2009 this.miDebugger.sendCommand('exec-interrupt');
2010 }
2011 }
2012
2013 protected setBreakPointsRequest(
2014 r: DebugProtocol.SetBreakpointsResponse,

Callers 1

doitMethod · 0.95

Calls 1

sendCommandMethod · 0.80

Tested by

no test coverage detected