diff --git a/src/vs/workbench/parts/debug/browser/breakpointWidget.ts b/src/vs/workbench/parts/debug/browser/breakpointWidget.ts index 7592235eb1b134695069d087c044c027493399c0..b498e73f275fbda8fa8a696698f3dcdb03f45d38 100644 --- a/src/vs/workbench/parts/debug/browser/breakpointWidget.ts +++ b/src/vs/workbench/parts/debug/browser/breakpointWidget.ts @@ -76,7 +76,11 @@ export class BreakpointWidget extends ZoneWidget { this.hitCountContext = e === 'Hit Count'; this.inputBox.setAriaLabel(this.hitCountContext ? HIT_COUNT_ARIA_LABEL : EXPRESSION_ARIA_LABEL); this.inputBox.setPlaceHolder(this.hitCountContext ? HIT_COUNT_PLACEHOLDER : EXPRESSION_PLACEHOLDER); - this.inputBox.value = (this.hitCountContext && breakpoint && breakpoint.hitCondition) ? breakpoint.hitCondition : breakpoint && breakpoint.condition ? breakpoint.condition : ''; + if (this.hitCountContext) { + this.inputBox.value = breakpoint && breakpoint.hitCondition ? breakpoint.hitCondition : ''; + } else { + this.inputBox.value = breakpoint && breakpoint.condition ? breakpoint.condition : ''; + } }); const inputBoxContainer = dom.append(container, $('.inputBoxContainer'));