Allow pausing individual threads (in theory)
This commit is contained in:
parent
a5d66a7477
commit
f0785c11f2
3 changed files with 41 additions and 1 deletions
|
|
@ -491,6 +491,20 @@ class DebugSession( object ):
|
|||
},
|
||||
} )
|
||||
|
||||
@IfConnected()
|
||||
def PauseThread( self ):
|
||||
threadId = self._stackTraceView.GetSelectedThreadId()
|
||||
if threadId is None:
|
||||
utils.UserMessage( 'No thread selected' )
|
||||
return
|
||||
|
||||
self._connection.DoRequest( None, {
|
||||
'command': 'pause',
|
||||
'arguments': {
|
||||
'threadId': threadId,
|
||||
},
|
||||
} )
|
||||
|
||||
@IfConnected()
|
||||
def ExpandVariable( self ):
|
||||
self._variablesView.ExpandVariable()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue