提交 00df2136 编写于 作者: I isidor

debug: oops wrong negation.

上级 dd4f269d
...@@ -752,7 +752,7 @@ export class DebugService extends ee.EventEmitter implements debug.IDebugService ...@@ -752,7 +752,7 @@ export class DebugService extends ee.EventEmitter implements debug.IDebugService
breakpointsToSend.forEach(bp => { breakpointsToSend.forEach(bp => {
const rawBreakpointData = response.body.breakpoints[index++]; const rawBreakpointData = response.body.breakpoints[index++];
if (bp.lineNumber !== rawBreakpointData.line || !rawBreakpointData.verified !== bp.error) { if (bp.lineNumber !== rawBreakpointData.line || !rawBreakpointData.verified !== bp.error) {
this.model.updateBreakpoint(bp.getId(), rawBreakpointData.line, rawBreakpointData.verified); this.model.updateBreakpoint(bp.getId(), rawBreakpointData.line, !rawBreakpointData.verified);
} }
}); });
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册