diff --git a/autoload/vebugger.vim b/autoload/vebugger.vim index ccc2681..bb126d5 100644 --- a/autoload/vebugger.vim +++ b/autoload/vebugger.vim @@ -196,3 +196,7 @@ function! vebugger#showLogBuffer() call s:debugger.showLogBuffer() endif endfunction + +function! vebugger#getActiveDebugger() + return s:debugger +endfunction diff --git a/autoload/vebugger/jdb.vim b/autoload/vebugger/jdb.vim index 45a6727..d236f45 100644 --- a/autoload/vebugger/jdb.vim +++ b/autoload/vebugger/jdb.vim @@ -32,13 +32,19 @@ function! s:readWhere(pipeName,line,readResult,debugger) if 'out'==a:pipeName let l:matches=matchlist(a:line,'\v\s*\[(\d+)]\s*(\S+)\s*\(([^:]*):(\d*)\)') if 4