processor/command/info_subcmd/files.rb in trepanning-0.1.1 vs processor/command/info_subcmd/files.rb in trepanning-0.1.2
- old
+ new
@@ -82,10 +82,10 @@
if not @proc.frame
errmsg("No frame - no default file.")
return false
nil
else
- frame_file = @proc.frame.source_container[1]
+ frame_file = @proc.frame.file
LineCache::map_file(frame_file) || File.expand_path(frame_file)
end
else
args[2]
end