diff --git a/src/gdb.ts b/src/gdb.ts index 7916f29..cb33859 100644 --- a/src/gdb.ts +++ b/src/gdb.ts @@ -100,7 +100,7 @@ class MI2DebugSession extends DebugSession { if (args.ssh.remotex11screen === undefined) args.ssh.remotex11screen = 0; this.isSSH = true; - this.trimCWD = args.cwd; + this.trimCWD = args.cwd.replace(/\\/g, "/"); this.switchCWD = args.ssh.cwd; this.gdbDebugger.ssh(args.ssh, args.ssh.cwd, args.target).then(() => { if (args.autorun)