Don't send configurationDone each time we set breakpoints

This commit is contained in:
Ben Jackson 2018-05-28 11:18:18 +01:00
commit 539b6d5c13

View file

@ -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():