When stepping, try to only reload the current thread stack trace

This commit is contained in:
Ben Jackson 2018-05-28 11:18:34 +01:00
commit 5278cd17fe

View file

@ -136,11 +136,11 @@ class StackTraceView( object ):
elif event.get( 'allThreadsStopped', False ) and self._threads: elif event.get( 'allThreadsStopped', False ) and self._threads:
self._currentThread = self._threads[ 0 ][ 'id' ] self._currentThread = self._threads[ 0 ][ 'id' ]
# if threadId: if self._currentThread:
# for thread in self._threads: for thread in self._threads:
# if thread[ 'id' ] == self._currentThread: if thread[ 'id' ] == self._currentThread:
# self._LoadStackTrace( thread, True ) self._LoadStackTrace( thread, True )
# return return
self.LoadThreads( True ) self.LoadThreads( True )