Fixed windows path problem
This commit is contained in:
parent
97f1c28ee2
commit
db4e2d5cf3
@ -127,7 +127,7 @@ function! vebugger#gdb#_readWhere(pipeName,line,readResult,debugger)
|
||||
if 'out'==a:pipeName
|
||||
let l:matches=matchlist(a:line,'\v^\*stopped.*fullname\=\"([^"]+)\",line\=\"(\d+)"')
|
||||
if 2<len(l:matches)
|
||||
let l:file=l:matches[1]
|
||||
let l:file=has('win32') ? substitute(l:matches[1], '\\\\', '\\', 'g') : l:matches[1]
|
||||
let l:file=fnamemodify(l:file,':p')
|
||||
let a:readResult.std.location={
|
||||
\'file':(l:file),
|
||||
|
Loading…
Reference in New Issue
Block a user