Project

General

Profile

Bug #847

debug.rb reports extraneous information

Added by pragdave (Dave Thomas) almost 11 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
Backport:
[ruby-core:20449]

Description

=begin
dave[RUBY3/Book 14:50:01*] 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: <<< this seems wrong
(rdb:1)
=end


Related issues

Related to Ruby master - Bug #848: debug.rb doesn't have access to the source file under test until it has runClosed12/11/200801/20/2009Actions

Associated revisions

Revision e317b934
Added by ko1 (Koichi Sasada) over 10 years ago

  • lib/debug.rb: as wanabe-san pointed out, set_trace_func should be completely final task in debug.rb. Bug #847 [ruby-core:20449]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 21570
Added by ko1 (Koichi Sasada) over 10 years ago

  • lib/debug.rb: as wanabe-san pointed out, set_trace_func should be completely final task in debug.rb. Bug #847 [ruby-core:20449]

Revision 21570
Added by ko1 (Koichi Sasada) over 10 years ago

  • lib/debug.rb: as wanabe-san pointed out, set_trace_func should be completely final task in debug.rb. Bug #847 [ruby-core:20449]

Revision 21570
Added by ko1 (Koichi Sasada) over 10 years ago

  • lib/debug.rb: as wanabe-san pointed out, set_trace_func should be completely final task in debug.rb. Bug #847 [ruby-core:20449]

Revision 21570
Added by ko1 (Koichi Sasada) over 10 years ago

  • lib/debug.rb: as wanabe-san pointed out, set_trace_func should be completely final task in debug.rb. Bug #847 [ruby-core:20449]

Revision 21570
Added by ko1 (Koichi Sasada) over 10 years ago

  • lib/debug.rb: as wanabe-san pointed out, set_trace_func should be completely final task in debug.rb. Bug #847 [ruby-core:20449]

Revision 21570
Added by ko1 (Koichi Sasada) over 10 years ago

  • lib/debug.rb: as wanabe-san pointed out, set_trace_func should be completely final task in debug.rb. Bug #847 [ruby-core:20449]

Revision ed844782
Added by yugui (Yuki Sonoda) over 10 years ago

merges r21570 from trunk into ruby_1_9_1.

  • lib/debug.rb: as wanabe-san pointed out, set_trace_func should be completely final task in debug.rb. Bug #847 [ruby-core:20449]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

History

#1

Updated by yugui (Yuki Sonoda) almost 11 years ago

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

=begin

=end

#2

Updated by yugui (Yuki Sonoda) over 10 years ago

  • Due date set to 12/24/2008

=begin

=end

#3

Updated by wanabe (_ wanabe) over 10 years ago

=begin
I suppose that set_trace_func should be completely final task in debug.rb.
How about this?

Index: lib/debug.rb
===================================================================
--- lib/debug.rb (revision 21058)
+++ lib/debug.rb (working copy)
@@ -898,10 +898,10 @@

stdout.printf "Debug.rb\n"
stdout.printf "Emacs support available.\n\n"
+RubyVM::InstructionSequence.compile_option = {

  • trace_instruction: true +} set_trace_func proc { |event, file, line, id, binding, klass, *rest| DEBUGGER__.context.trace_func event, file, line, id, binding, klass } -RubyVM::InstructionSequence.compile_option = {
  • trace_instruction: true -} end =end
#4

Updated by yugui (Yuki Sonoda) over 10 years ago

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

=begin

=end

#5

Updated by yugui (Yuki Sonoda) over 10 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

=begin

=end

#6

Updated by ko1 (Koichi Sasada) over 10 years ago

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

=begin
Applied in changeset r21570.
=end

Also available in: Atom PDF