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

Method getResetCommands

src/gdb.ts:1604–1608  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1602 }
1603
1604 protected getResetCommands(): string[] {
1605 return this.args.overrideResetCommands != null ? this.args.overrideResetCommands.map(COMMAND_MAP) :
1606 this.args.overrideRestartCommands != null ? this.args.overrideRestartCommands.map(COMMAND_MAP) :
1607 this.serverController.restartCommands();
1608 }
1609
1610 protected async resetDevice(response: DebugProtocol.Response, args: any) {
1611 try {

Callers

nothing calls this directly

Calls 1

restartCommandsMethod · 0.65

Tested by

no test coverage detected