From 5278cd17fedcbe9048f6bb8e318418d03663b461 Mon Sep 17 00:00:00 2001 From: Ben Jackson Date: Mon, 28 May 2018 11:18:34 +0100 Subject: [PATCH] When stepping, try to only reload the current thread stack trace --- python3/vimspector/stack_trace.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/python3/vimspector/stack_trace.py b/python3/vimspector/stack_trace.py index 1da48d1..fa9fd4a 100644 --- a/python3/vimspector/stack_trace.py +++ b/python3/vimspector/stack_trace.py @@ -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 )