File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,11 @@ export class LiveWatchTreeDataProvider implements vscode.TreeDataProvider<LiveWa
7575 }
7676 } ) ;
7777 // Using this event because this is when the threadId is available for evaluations
78- const onStackTrace = tracker . onDidChangeActiveStackItem ( async ( ) => await this . refresh ( ) ) ;
78+ const onStackTrace = tracker . onDidChangeActiveStackItem ( async ( item ) => {
79+ if ( ( item . item as vscode . DebugStackFrame ) . frameId !== undefined ) {
80+ await this . refresh ( ) ;
81+ }
82+ } ) ;
7983 // Clearing active session on closing the session
8084 const onWillStopSession = tracker . onWillStopSession ( async ( session ) => {
8185 if ( this . activeSession ?. session . id && this . activeSession ?. session . id === session . session . id ) {
@@ -84,11 +88,7 @@ export class LiveWatchTreeDataProvider implements vscode.TreeDataProvider<LiveWa
8488 await this . refresh ( ) ;
8589 await this . save ( ) ;
8690 } ) ;
87- //
88- const onContinued = tracker . onContinued ( async ( ) => {
89- await this . refresh ( ) ;
90- } ) ;
91- this . _context . subscriptions . push ( onContinued ,
91+ this . _context . subscriptions . push (
9292 onDidChangeActiveDebugSession ,
9393 onWillStartSession ,
9494 onStopped ,
You can’t perform that action at this time.
0 commit comments