Fix pause/continue/pause
This commit is contained in:
parent
eb11712cc1
commit
ed703724ca
1 changed files with 3 additions and 14 deletions
|
|
@ -150,13 +150,7 @@ class StackTraceView( object ):
|
|||
|
||||
def Continue( self ):
|
||||
if not self._currentThread:
|
||||
for thread in self._threads:
|
||||
self._session._connection.DoRequest( None, {
|
||||
'command': 'continue',
|
||||
'arguments': {
|
||||
'threadId': thread[ 'id' ]
|
||||
},
|
||||
} )
|
||||
utils.UserMessage( 'No current thread', persist = True )
|
||||
return
|
||||
|
||||
self._session._connection.DoRequest( None, {
|
||||
|
|
@ -167,16 +161,11 @@ class StackTraceView( object ):
|
|||
} )
|
||||
|
||||
self._session.ClearCurrentFrame()
|
||||
self.LoadThreads( True )
|
||||
|
||||
def Pause( self ):
|
||||
if not self._currentThread:
|
||||
for thread in self._threads:
|
||||
self._session._connection.DoRequest( None, {
|
||||
'command': 'pause',
|
||||
'arguments': {
|
||||
'threadId': thread[ 'id' ],
|
||||
},
|
||||
} )
|
||||
utils.UserMessage( 'No current thread', persist = True )
|
||||
return
|
||||
|
||||
self._session._connection.DoRequest( None, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue