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

Method serverExecutable

src/stlink.ts:141–147  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139 }
140
141 public serverExecutable(): string {
142 if (this.args.serverpath) {
143 return this.args.serverpath;
144 } else {
145 return resolveCubePath([STLinkServerController.getSTMCubeIdeDir(), 'plugins'], GDB_REGEX, 'tools/bin', SERVER_EXECUTABLE_NAME);
146 }
147 }
148 public allocateRTTPorts(): Promise<void> {
149 return Promise.resolve();
150 }

Callers

nothing calls this directly

Calls 2

resolveCubePathFunction · 0.85
getSTMCubeIdeDirMethod · 0.80

Tested by

no test coverage detected