Skip to content

Commit e5faad7

Browse files
committed
setting value of active session on Changing active debug session
1 parent 846d9c0 commit e5faad7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/views/live-watch/live-watch.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,8 @@ export class LiveWatchTreeDataProvider implements vscode.TreeDataProvider<LiveWa
101101
}
102102

103103
private async handleOnDidChangeActiveDebugSession(session: GDBTargetDebugSession | undefined): Promise<void> {
104-
if (this._activeSession?.session.id === session?.session.id) {
105-
await this.refresh();
106-
}
104+
this._activeSession = session;
105+
await this.refresh();
107106
}
108107

109108
private async handleOnWillStartSession(session: GDBTargetDebugSession): Promise<void> {

0 commit comments

Comments
 (0)