This should do the trick!
This commit is contained in:
parent
ff2a8207d8
commit
2438ac6cce
@ -53,6 +53,9 @@ function! vebugger#mdbg#start(binaryFile,args)
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:findFilePath(src,fileName,methodName)
|
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:path=fnamemodify(a:src,':p')
|
||||||
let l:files=glob(l:path.'**/'.a:fileName,0,1)
|
let l:files=glob(l:path.'**/'.a:fileName,0,1)
|
||||||
for l:dirname in split(a:methodName,'\.')
|
for l:dirname in split(a:methodName,'\.')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user