From 539b6d5c135c7ff4eedbd63d7a85075697b02974 Mon Sep 17 00:00:00 2001 From: Ben Jackson Date: Mon, 28 May 2018 11:18:18 +0100 Subject: [PATCH] Don't send configurationDone each time we set breakpoints --- python3/vimspector/debug_session.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/python3/vimspector/debug_session.py b/python3/vimspector/debug_session.py index ae5f679..dc9f393 100644 --- a/python3/vimspector/debug_session.py +++ b/python3/vimspector/debug_session.py @@ -337,6 +337,9 @@ class DebugSession( object ): def OnEvent_initialized( self, message ): self._codeView.ClearBreakpoints() self._SendBreakpoints() + self._connection.DoRequest( None, { + 'command': 'configurationDone', + } ) def OnEvent_thread( self, message ): if message[ 'body' ][ 'reason' ] == 'started': @@ -409,10 +412,6 @@ class DebugSession( object ): } ) - self._connection.DoRequest( None, { - 'command': 'configurationDone', - } ) - def _ShowBreakpoints( self ): for file_name, line_breakpoints in self._breakpoints.items(): for line, bp in line_breakpoints.items():