Tidy breakpoints
This commit is contained in:
parent
4815c832f0
commit
afe4c0db77
2 changed files with 2 additions and 18 deletions
|
|
@ -19,22 +19,6 @@ let s:save_cpo = &cpo
|
|||
set cpo&vim
|
||||
" }}}
|
||||
|
||||
let s:plugin_base = expand( '<sfile>:p:h' ) . '/../'
|
||||
let s:command = [
|
||||
\ 'node',
|
||||
\ '/Users/ben/.vscode/extensions/webfreak.debug-0.22.0/out/src/lldb.js'
|
||||
\ ]
|
||||
|
||||
" let s:command = [
|
||||
" \ '/Users/ben/.vscode/extensions/ms-vscode.cpptools-0.17.1/'
|
||||
" \ 'debugAdapters/OpenDebugAD7'
|
||||
" \ ]
|
||||
"
|
||||
" \ 'node',
|
||||
" \ '/Users/ben/Development/debugger/vscode-mock-debug/out/debugAdapter.js'
|
||||
" \ ]
|
||||
|
||||
|
||||
function! s:_OnServerData( channel, data ) abort
|
||||
py3 << EOF
|
||||
_vimspector_session.OnChannelData( vim.eval( 'a:data' ) )
|
||||
|
|
|
|||
|
|
@ -291,7 +291,6 @@ class DebugSession( object ):
|
|||
},
|
||||
} )
|
||||
|
||||
|
||||
def _SelectProcess( self, adapter_config, launch_config ):
|
||||
atttach_config = adapter_config[ 'attach' ]
|
||||
if atttach_config[ 'pidSelect' ] == 'ask':
|
||||
|
|
@ -335,7 +334,6 @@ class DebugSession( object ):
|
|||
self._codeView.ShowBreakpoints()
|
||||
|
||||
def OnEvent_initialized( self, message ):
|
||||
self._codeView.ClearBreakpoints()
|
||||
self._SendBreakpoints()
|
||||
self._connection.DoRequest( None, {
|
||||
'command': 'configurationDone',
|
||||
|
|
@ -380,6 +378,8 @@ class DebugSession( object ):
|
|||
del bp[ 'sign_id' ]
|
||||
|
||||
def _SendBreakpoints( self ):
|
||||
self._codeView.ClearBreakpoints()
|
||||
|
||||
for file_name, line_breakpoints in self._breakpoints.items():
|
||||
breakpoints = []
|
||||
lines = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue