提交 fbf16c70 编写于 作者: I isidor

debug: use 'condition' instead of 'expression'

上级 e4089c3b
......@@ -785,7 +785,7 @@ export class DebugService extends ee.EventEmitter implements debug.IDebugService
return this.session.setBreakpoints({ source: Source.toRawSource(modelUri, this.model), lines: breakpointsToSend.map(bp => bp.desiredLineNumber),
breakpoints: breakpointsToSend.map(bp => ({ line: bp.desiredLineNumber, expression: bp.condition })) }).then(response => {
breakpoints: breakpointsToSend.map(bp => ({ line: bp.desiredLineNumber, condition: bp.condition })) }).then(response => {
const data: {[id: string]: { line: number, verified: boolean } } = { };
for (let i = 0; i < breakpointsToSend.length; i++) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册