Project

General

Profile

ActionsLike0

Bug #848

closed

debug.rb doesn't have access to the source file under test until it has run

Added by pragdave (Dave Thomas) over 16 years ago. Updated almost 14 years ago.

Status:
Closed
Target version:
ruby -v:
Backport:
[ruby-core:20450]

Description

=begin
dave[RUBY3/Book 14:51:21*] ruby -v -r debug t.rb
ruby 1.9.1 (2008-12-10 revision 20602) [i386-darwin9.5.0]
Debug.rb
Emacs support available.

/usr/local/rubybook/lib/ruby/1.9.1/debug.rb:904:
(rdb:1) l
[899, 908] in /usr/local/rubybook/lib/ruby/1.9.1/debug.rb
No sourcefile available for /usr/local/rubybook/lib/ruby/1.9.1/debug.rb <<<< !!!

(rdb:1) step
t.rb:1:var = 'cat'
(rdb:1) l
[-4, 5] in t.rb
=> 1 var = 'cat'
2 def escape(l, s); l; end
3
4 while l.length > 70

Also, not line number range of [-4,5]
=end


Related issues 1 (0 open1 closed)

Related to Ruby - Bug #847: debug.rb reports extraneous informationClosedko1 (Koichi Sasada)12/11/200801/20/2009Actions
#1

Updated by yugui (Yuki Sonoda) over 16 years ago

  • Assignee set to ko1 (Koichi Sasada)
  • Target version set to 1.9.1 Release Candidate
#2

Updated by yugui (Yuki Sonoda) over 16 years ago

  • Due date set to 12/24/2008
#3

Updated by yugui (Yuki Sonoda) over 16 years ago

  • Category set to YARV
  • Priority changed from Normal to 3
#4

Updated by yugui (Yuki Sonoda) over 16 years ago

  • Due date changed from 12/24/2008 to 01/20/2009
  • Target version changed from 1.9.1 Release Candidate to 1.9.1 RC2
#6

Updated by ko1 (Koichi Sasada) about 16 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100
ActionsLike0

Also available in: Atom PDF