add support for not providing extra args to jdb#attach
This commit is contained in:
parent
7d1703ca32
commit
f1bdce4e69
@ -38,9 +38,10 @@ function! vebugger#jdb#start(entryClass,args)
|
|||||||
return l:debugger
|
return l:debugger
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! vebugger#jdb#attach(address,args)
|
function! vebugger#jdb#attach(address, ...)
|
||||||
let a:args.attach = a:address
|
let l:args = a:0 ? a:{1} : {}
|
||||||
call vebugger#jdb#start('', a:args)
|
let l:args.attach = a:address
|
||||||
|
call vebugger#jdb#start('', l:args)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! vebugger#jdb#_readProgramOutput(pipeName,line,readResult,debugger) dict
|
function! vebugger#jdb#_readProgramOutput(pipeName,line,readResult,debugger) dict
|
||||||
|
Loading…
Reference in New Issue
Block a user