Clear PC when resetting
This commit is contained in:
parent
dff7f6ad73
commit
c44e0970a4
2 changed files with 5 additions and 0 deletions
|
|
@ -94,6 +94,10 @@ class CodeView( object ):
|
|||
|
||||
self._UndisplaySigns()
|
||||
|
||||
def Reset( self ):
|
||||
self.ClearBreakpoints()
|
||||
self.Clear()
|
||||
|
||||
def AddBreakpoints( self, source, breakpoints ):
|
||||
for breakpoint in breakpoints:
|
||||
if 'source' not in breakpoint:
|
||||
|
|
|
|||
|
|
@ -215,6 +215,7 @@ class DebugSession( object ):
|
|||
self._stackTraceView.Reset()
|
||||
self._variablesView.Reset()
|
||||
self._outputView.Reset()
|
||||
self._codeView.Reset()
|
||||
vim.current.tabpage = self._uiTab
|
||||
vim.command( 'tabclose!' )
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue