Skip to content

Commit 3d8f07e

Browse files
committed
Show local file path in stack, fix #118
1 parent 5427895 commit 3d8f07e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/python/vdebug/ui/vimui.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,10 +486,10 @@ def render(self):
486486
string = ""
487487
for s in stack:
488488
where = s.get('where') if s.get('where') else 'main'
489-
file = vdebug.util.LocalFilePath(s.get('filename'))
489+
file = vdebug.util.FilePath(s.get('filename'))
490490
line = "[%(num)s] %(where)s @ %(file)s:%(line)s" \
491491
%{'num':s.get('level'),'where':where,\
492-
'file':str(file),'line':s.get('lineno')}
492+
'file':str(file.as_local()),'line':s.get('lineno')}
493493
string += line + "\n"
494494
return string
495495

0 commit comments

Comments
 (0)