Skip to content

Commit

Permalink
callStack: use parent label for compressed callstack computation
Browse files Browse the repository at this point in the history
  • Loading branch information
isidorn committed Jun 18, 2020
1 parent 09f3bb1 commit 95fa020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/contrib/debug/browser/callStackView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ class SessionsRenderer implements ICompressibleTreeRenderer<IDebugSession, Fuzzy
renderCompressedElements(node: ITreeNode<ICompressedTreeNode<IDebugSession>, FuzzyScore>, index: number, templateData: ISessionTemplateData, height: number | undefined): void {
const lastElement = node.element.elements[node.element.elements.length - 1];
const matches = createMatches(node.filterData);
const label = node.element.elements.map(e => e.getLabel()).join(' ');
const label = node.element.elements[0].getLabel();
this.doRenderElement(lastElement, label, matches, templateData);
}

Expand Down

0 comments on commit 95fa020

Please sign in to comment.