File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ export class LiveWatchTreeDataProvider implements vscode.TreeDataProvider<LiveWa
5656 const item = new vscode . TreeItem ( element . expression + ' = ' , vscode . TreeItemCollapsibleState . None ) ;
5757 item . description = element . value || '' ;
5858 item . contextValue = 'expression' ;
59+ item . tooltip = element . expression ;
5960 return item ;
6061 }
6162
@@ -73,7 +74,9 @@ export class LiveWatchTreeDataProvider implements vscode.TreeDataProvider<LiveWa
7374 const onStackTrace = tracker . onDidChangeActiveStackItem ( async ( ) => await this . refresh ( ) ) ;
7475 // Clearing active session on closing the session
7576 const onWillStopSession = tracker . onWillStopSession ( async ( session ) => {
76- this . _activeSession = session ;
77+ if ( this . activeSession ?. session . id && this . activeSession ?. session . id === session . session . id ) {
78+ this . _activeSession = undefined ;
79+ }
7780 await this . refresh ( ) ;
7881 await this . save ( ) ;
7982 } ) ;
You can’t perform that action at this time.
0 commit comments