提交 a3e49cae 编写于 作者: I isidor

show the number of hidden frames (Show N more frames)

#50334
上级 1e9717af
......@@ -554,8 +554,8 @@ class CallStackRenderer implements IRenderer {
}
private renderShowMore(data: ILabelTemplateData, element: IStackFrame[]): void {
data.label.textContent = nls.localize('showMoreStackFrames', "Show More Stack Frames");
if (element && element.length && element.every(sf => sf.source && sf.source.origin === element[0].source.origin)) {
data.label.textContent = nls.localize('showMoreStackFrames', "Show {0} More Stack Frames", element.length);
if (element.every(sf => sf.source && sf.source.origin === element[0].source.origin)) {
data.label.textContent += ` ${element[0].source.origin}`;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册