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

Function getLogPath

src/openocd.ts:14–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12import { GDBDebugSession } from './gdb';
13
14function getLogPath() {
15 try {
16 const tmpDirName = os.tmpdir();
17 const fsPath = path.join(tmpDirName, 'cortex-debug-openocd.log');
18 return fsPath;
19 }
20 catch {
21 return '';
22 }
23}
24
25let firstLog = true;
26let doLog = false;

Callers 1

openocd.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected