Don't send configurationDone each time we set breakpoints
This commit is contained in:
parent
403b90a961
commit
539b6d5c13
1 changed files with 3 additions and 4 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue