Skip to content

Commit

Permalink
fixes #104475
Browse files Browse the repository at this point in the history
  • Loading branch information
isidorn committed Aug 12, 2020
1 parent 263188f commit ef569d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vs/workbench/contrib/debug/browser/callStackView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ export class CallStackView extends ViewPane {
dom.toggleClass(this.pauseMessageLabel, 'exception', thread.stoppedDetails.reason === 'exception');
this.pauseMessage.hidden = false;
this.updateActions();

} else {
this.pauseMessage.hidden = true;
this.updateActions();
Expand Down Expand Up @@ -550,6 +549,9 @@ class SessionsRenderer implements ICompressibleTreeRenderer<IDebugSession, Fuzzy

if (thread && thread.stoppedDetails) {
data.stateLabel.textContent = thread.stoppedDetails.description || nls.localize('debugStopped', "Paused on {0}", thread.stoppedDetails.reason || '');
if (thread.stoppedDetails.text) {
data.session.title = thread.stoppedDetails.text;
}
} else {
const hasChildSessions = this.debugService.getModel().getSessions().find(s => s.parentSession === session);
if (!hasChildSessions) {
Expand Down

0 comments on commit ef569d3

Please sign in to comment.