diff --git a/autoload/vebugger/mdbg.vim b/autoload/vebugger/mdbg.vim index e1b7611..6ac5659 100644 --- a/autoload/vebugger/mdbg.vim +++ b/autoload/vebugger/mdbg.vim @@ -6,7 +6,7 @@ function! vebugger#mdbg#searchAndAttach(binaryFile,srcpath) endfunction function! vebugger#mdbg#start(binaryFile,args) - let l:debugger=vebugger#std#startDebugger(shellescape(vebugger#util#getToolFullPath('mdbg','Mdbg.exe'))) + let l:debugger=vebugger#std#startDebugger(shellescape(vebugger#util#getToolFullPath('mdbg','Mdbg'))) let l:debugger.state.mdbg={'breakpointNumbers':{}} let l:debugger.readResultTemplate.mdbg={'breakpointBound':{}} @@ -53,6 +53,9 @@ function! vebugger#mdbg#start(binaryFile,args) endfunction function! s:findFilePath(src,fileName,methodName) + if vebugger#util#isPathAbsolute(a:fileName) + return fnamemodify(a:fileName,':p') "Return the normalized full path + endif let l:path=fnamemodify(a:src,':p') let l:files=glob(l:path.'**/'.a:fileName,0,1) for l:dirname in split(a:methodName,'\.') @@ -73,7 +76,7 @@ endfunction function! s:readWhere(pipeName,line,readResult,debugger) if 'out'==a:pipeName - let l:matches=matchlist(a:line,'\v^\*(\d+)\.\s*([A-Za-z_.]+)\s*\(([A-Za-z_.]+):(\d+)\)') + let l:matches=matchlist(a:line,'\v^\*(\d+)\.\s*([A-Za-z0-9_.+<>]+)\s*\((.+):(\d+)\)') if 3 License: Same terms as Vim itself (see |license|) -Version: 1.1.0 +Version: 1.1.1 INTRODUCTION *vebugger*