Project

General

Profile

Actions

Bug #3634

closed

irb -d does not set $VERBOSE to true

Added by agrimm (Andrew Grimm) over 13 years ago. Updated almost 13 years ago.

Status:
Closed
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
Actions #1

Updated by mame (Yusuke Endoh) over 13 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

Actions

Also available in: Atom PDF

Like0
Like0