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:
parent
b72bc7dfbf
commit
3f9bc6f921
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue