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:
self._currentThread = self._threads[ 0 ][ 'id' ]
# if threadId:
# for thread in self._threads:
# if thread[ 'id' ] == self._currentThread:
# self._LoadStackTrace( thread, True )
# return
if self._currentThread:
for thread in self._threads:
if thread[ 'id' ] == self._currentThread:
self._LoadStackTrace( thread, True )
return
self.LoadThreads( True )