diff --git a/src/backend/mi2/mi2.ts b/src/backend/mi2/mi2.ts index 3d55d42..4dcc67b 100644 --- a/src/backend/mi2/mi2.ts +++ b/src/backend/mi2/mi2.ts @@ -468,7 +468,7 @@ export class MI2 extends EventEmitter implements IBackend { if (breakpoint.raw) location = '"' + escape(breakpoint.raw) + '"'; else - location = breakpoint.file + ":" + breakpoint.line; + location = '"' + breakpoint.file + ":" + breakpoint.line + '"'; this.sendCommand("break-insert -f " + location).then((result) => { if (result.resultRecords.resultClass == "done") { let bkptNum = parseInt(result.result("bkpt.number")); @@ -666,4 +666,4 @@ export class MI2 extends EventEmitter implements IBackend { protected process: ChildProcess.ChildProcess; protected stream; protected sshConn; -} \ No newline at end of file +}