Project

General

Profile

Actions

Bug #8318

closed

Fix debug listing when called from the same file the debug module has been required from

Added by zzak (zzak _) almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
2.1.0dev
[ruby-core:54543]

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

280.patch (1.06 KB) 280.patch zzak (zzak _), 04/24/2013 12:44 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0