ruby-debug 'list' command has display problems
----------------------------------------------
Key: JRUBY-4405
URL: http://jira.codehaus.org/browse/JRUBY-4405
Project: JRuby
Issue Type: Improvement
Components: Extensions
Affects Versions: JRuby 1.5
Environment: github trunk, Java 6, Mac OS X 10.6.2
Reporter: Hiro Asari
Priority: Trivial
Fix For: JRuby 1.5
While ruby-debug works on trunk, 'list' command doesn't see to work quite right.
{noformat}
surfboard:~$ jruby -v -rdebug -rubygems -e 0
jruby 1.5.0.dev (ruby 1.8.7 patchlevel 174) (2009-12-29 4f9b2a3) (Java
HotSpot(TM) 64-Bit Server VM 1.6.0_17) [x86_64-java]
Debug.rb
Emacs support available.
/Users/asari/personal/jruby/lib/ruby/1.8/debug.rb:946 warning: tracing (e.g.
set_trace_func) will not capture all events without --debug flag
/Users/asari/personal/jruby/lib/ruby/site_ruby/1.8/ubygems.rb:10:rrequire
'rrubygems''
(rdb:1) l
[5, 14] in /Users/asari/personal/jruby/lib/ruby/site_ruby/1.8/ubygems.rb
5 ## All rights reserved.
6 ## See LICENSE.txt for permissions.
7 ##++
8
9
=> 10 rrequire 'rrubygems''
(rdb:1)
{noformat}
Some characters are printed twice.
With MRI:
{noformat}
surfboard:~$ ruby -v -r debug -rubygems -e 0
ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
Debug.rb
Emacs support available.
/Library/Ruby/Site/1.8/ubygems.rb:10:require 'rubygems'
(rdb:1) l
[5, 14] in /Library/Ruby/Site/1.8/ubygems.rb
5 # All rights reserved.
6 # See LICENSE.txt for permissions.
7 #++
8
9
=> 10 require 'rubygems'
(rdb:1)
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email