提交 d0bc4853 编写于 作者: I isidor

debug: show breakpoint unverified in UI

fixes #4935
上级 53725a9e
......@@ -933,7 +933,14 @@ export class BreakpointsRenderer implements tree.IRenderer {
data.filePath.textContent = labels.getPathLabel(paths.dirname(breakpoint.source.uri.fsPath), this.contextService);
data.checkbox.checked = breakpoint.enabled;
data.actionBar.context = breakpoint;
if (breakpoint.condition) {
const debugActive = this.debugService.state === debug.State.Running || this.debugService.state === debug.State.Stopped;
if (debugActive && !breakpoint.verified) {
tree.addTraits('disabled', [breakpoint]);
if (breakpoint.message) {
data.breakpoint.title = breakpoint.message;
}
} else if (breakpoint.condition) {
data.breakpoint.title = breakpoint.condition;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册