Actions
Bug #8318
closedFix debug listing when called from the same file the debug module has been required from
Description
=begin
From ((<GitHub#280|URL:https://github.com/ruby/ruby/pull/280>))
with this minimal ruby code
require 'debug'
puts
when trying to list the code, it'll fail like so:
(rdb:1) l
[-3, 6] in script.rb
No sourcefile available for script.rb
=end
Files
Updated by nobu (Nobuyoshi Nakada) over 11 years ago
- Description updated (diff)
Updated by nobu (Nobuyoshi Nakada) over 11 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r40450.
Zachary, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
debug.rb: Fix debug listing
- lib/debug.rb (display_list): Fix debug listing when called from the
same file it has been required. patch by Dario Bertini [Bug #8318] [fix GH-280]
Actions
Like0
Like0Like0