Allow setting the current thread, use a sign to highlight the line with the current thread
This commit is contained in:
parent
8e3a734141
commit
53b1d12447
6 changed files with 110 additions and 50 deletions
|
|
@ -492,18 +492,12 @@ class DebugSession( object ):
|
|||
} )
|
||||
|
||||
@IfConnected()
|
||||
def PauseThread( self ):
|
||||
threadId = self._stackTraceView.GetSelectedThreadId()
|
||||
if threadId is None:
|
||||
utils.UserMessage( 'No thread selected' )
|
||||
return
|
||||
def PauseContinueThread( self ):
|
||||
self._stackTraceView.PauseContinueThread()
|
||||
|
||||
self._connection.DoRequest( None, {
|
||||
'command': 'pause',
|
||||
'arguments': {
|
||||
'threadId': threadId,
|
||||
},
|
||||
} )
|
||||
@IfConnected()
|
||||
def SetCurrentThread( self ):
|
||||
self._stackTraceView.SetCurrentThread()
|
||||
|
||||
@IfConnected()
|
||||
def ExpandVariable( self ):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue