File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -363,7 +363,8 @@ def _DrawThreads( self ):
363363              hl  =  'CursorLineNr'  )
364364
365365          for  thread  in  s .threads :
366-             icon  =  '+'  if  not  thread .IsExpanded () else  '-' 
366+             icon  =  '+'  if  ( thread .CanExpand ()
367+                             and  not  thread .IsExpanded () ) else  '-' 
367368            line  =  utils .AppendToBuffer (
368369              self ._buf ,
369370              f'{ icon }   Thread { thread .id }  : { thread .thread ["name" ]}   ' 
Original file line number Diff line number Diff line change @@ -1278,7 +1278,7 @@ function! Test_WatchAfterExit()
12781278  call  WaitForAssert ( {- >
12791279        \    AssertMatchList (
12801280        \      [
1281-         \          ' +  Thread [0-9]\+: .* (terminated)'  ,
1281+         \          ' -  Thread [0-9]\+: .* (terminated)'  ,
12821282        \      ],
12831283        \      GetBufLine ( winbufnr ( g: vimspector_session_windows .stack_trace ),
12841284        \                  1 ,
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments