Re-add user-requested-breakpoints when resetting

This adds the markers back to any buffers that were open beforehand and
used to request line breakpoints.
This commit is contained in:
Ben Jackson 2018-06-10 18:34:37 +01:00
commit 3f9bc6f921

View file

@ -185,8 +185,6 @@ class DebugSession( object ):
self._Reset()
def _Reset( self ):
self._RemoveBreakpoints()
if self._uiTab:
self._stackTraceView.Reset()
self._variablesView.Reset()
@ -197,6 +195,9 @@ class DebugSession( object ):
vim.eval( 'vimspector#internal#job#Reset()' )
vim.eval( 'vimspector#internal#state#Reset()' )
# make sure that we're displaying signs in any still-open buffers
self._UpdateUIBreakpoints()
def StepOver( self ):
if self._stackTraceView.GetCurrentThreadId() is None:
return