Project

General

Profile

Bug #3634

irb -d does not set $VERBOSE to true

Added by agrimm (Andrew Grimm) over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
ruby -v:
ruby 1.9.2dev (2010-07-30 revision 28788) [x86_64-darwin10.2.0]
Backport:
[ruby-core:31558]

Description

=begin
Thanks to feature #1832, irb -w sets $VERBOSE to true. However, this did not update irb -d to setting $VERBOSE to true.

If irb -w sets $VERBOSE to true, and ruby -d sets $VERBOSE (as well as $DEBUG) to true, then irb -d should set $VERBOSE (as well as $DEBUG) to true.

Attached is a patch that should set $VERBOSE to true for "irb -d" (I haven't tested it myself). I did not add any unit tests because I couldn't find an equivalent of test/ruby/test_parse.rb for irb.
=end


Files

irb_verbose_debug.diff (606 Bytes) irb_verbose_debug.diff Git diff patch to set VERBOSE to true under irb debug mode agrimm (Andrew Grimm), 07/31/2010 10:22 AM

History

#1

Updated by mame (Yusuke Endoh) over 9 years ago

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

=begin
This issue was solved with changeset r28816.
Andrew, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Also available in: Atom PDF