diff --git a/python3/vimspector/debug_session.py b/python3/vimspector/debug_session.py index be61004..4df181b 100644 --- a/python3/vimspector/debug_session.py +++ b/python3/vimspector/debug_session.py @@ -479,6 +479,14 @@ class DebugSession( object ): launch_config[ 'name' ] = 'test' self._connection.DoRequest( + # NOTE: You might think we should only load threads on a stopped event, + # but the spec is clear: + # + # After a successful launch or attach the development tool requests the + # baseline of currently existing threads with the threads request and + # then starts to listen for thread events to detect new or terminated + # threads. + # lambda msg: self._stackTraceView.LoadThreads( True ), { 'command': launch_config[ 'request' ], diff --git a/python3/vimspector/utils.py b/python3/vimspector/utils.py index 0e83b7f..53654fd 100644 --- a/python3/vimspector/utils.py +++ b/python3/vimspector/utils.py @@ -254,7 +254,6 @@ def ExpandReferencesInDict( obj, mapping, **kwargs ): ++bug_catcher try: - UserMessage( 'Dict: {}'.format( str( mapping ) ), persist = True ) s = string.Template( s ).substitute( mapping, **kwargs ) break except KeyError as e: