Correctly handle the 'continue' response when continuing a specific thread

This commit is contained in:
Ben Jackson 2020-11-21 18:12:34 +00:00
commit 82307ff1ba
2 changed files with 17 additions and 7 deletions

View file

@ -477,8 +477,13 @@ class DebugSession( object ):
utils.UserMessage( 'No current thread', persist = True )
return
def handler( *_ ):
self._stackTraceView.OnContinued( { 'threadId': threadId } )
def handler( msg ):
self._stackTraceView.OnContinued( {
'threadId': threadId,
'allThreadsContinued': ( msg.get( 'body' ) or {} ).get(
'allThreadsContinued',
True )
} )
self._codeView.SetCurrentFrame( None )
self._connection.DoRequest( handler, {