Skip to content

Commit ef569d3

Browse files
committed
1 parent 263188f commit ef569d3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/vs/workbench/contrib/debug/browser/callStackView.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ export class CallStackView extends ViewPane {
161161
dom.toggleClass(this.pauseMessageLabel, 'exception', thread.stoppedDetails.reason === 'exception');
162162
this.pauseMessage.hidden = false;
163163
this.updateActions();
164-
165164
} else {
166165
this.pauseMessage.hidden = true;
167166
this.updateActions();
@@ -550,6 +549,9 @@ class SessionsRenderer implements ICompressibleTreeRenderer<IDebugSession, Fuzzy
550549

551550
if (thread && thread.stoppedDetails) {
552551
data.stateLabel.textContent = thread.stoppedDetails.description || nls.localize('debugStopped', "Paused on {0}", thread.stoppedDetails.reason || '');
552+
if (thread.stoppedDetails.text) {
553+
data.session.title = thread.stoppedDetails.text;
554+
}
553555
} else {
554556
const hasChildSessions = this.debugService.getModel().getSessions().find(s => s.parentSession === session);
555557
if (!hasChildSessions) {

0 commit comments

Comments
 (0)