diff --git a/src/gdb.ts b/src/gdb.ts index ccc41b6..73bea32 100644 --- a/src/gdb.ts +++ b/src/gdb.ts @@ -181,7 +181,9 @@ class MI2DebugSession extends DebugSession { all.push(this.gdbDebugger.addBreakPoint({ file: path, line: brk.line, condition: brk.condition })); }); Promise.all(all).then(brkpoints => { - response.body.breakpoints = brkpoints; + response.body = { + breakpoints: brkpoints + }; this.sendResponse(response); }); });