Fix clearing temp breakpoints - ensure that the isngs are undisplayed
This commit is contained in:
parent
3330c704d7
commit
07ec08e664
1 changed files with 7 additions and 3 deletions
|
|
@ -219,10 +219,14 @@ class ProjectBreakpoints( object ):
|
|||
|
||||
|
||||
def ClearTemporaryBreakpoints( self ):
|
||||
to_delete = []
|
||||
for file_name, breakpoints in self._line_breakpoints.items():
|
||||
self._line_breakpoints[ file_name ] = list( filter(
|
||||
lambda bp: not bp[ 'options' ].get( 'temporary' ),
|
||||
breakpoints ) )
|
||||
for index, bp in enumerate( breakpoints ):
|
||||
if bp[ 'options' ].get( 'temporary' ):
|
||||
to_delete.append( ( bp, file_name, index ) )
|
||||
|
||||
for entry in to_delete:
|
||||
self._DeleteLineBreakpoint( *entry )
|
||||
|
||||
|
||||
def _UpdateTemporaryBreakpoints( self, breakpoints, temp_idxs ):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue