Skip to content

Commit ca4328d

Browse files
authored
⚡ Add double quotes around gdbinit file path (#1684)
VSC-1773
1 parent 09aa904 commit ca4328d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/espIdf/tracing/gdbHeapTraceManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export class GdbHeapTraceManager {
175175
workspaceFolder: string
176176
) {
177177
let content = `set pagination off\nset confirm off\ntarget remote :3333\n\nmon reset halt\nflushregs\n\n`;
178-
content += `tb heap_trace_start\ncommands\nmon esp sysview_mcore start ${traceFilePath}\n`;
178+
content += `tb heap_trace_start\ncommands\nmon esp sysview_mcore start "${traceFilePath}"\n`;
179179
content += `c\nend\n\ntb heap_trace_stop\ncommands\nmon esp sysview_mcore stop\nend\n\nc`;
180180
const filePath = join(workspaceFolder, this.gdbinitFileName);
181181
await writeFile(filePath, content);

0 commit comments

Comments
 (0)