Ruby debugger doesn't terminate with a single 'exit'

------------------------------------------------------

                 Key: JRUBY-4406
                 URL: http://jira.codehaus.org/browse/JRUBY-4406
             Project: JRuby
          Issue Type: Bug
          Components: Extensions
    Affects Versions: JRuby 1.5
         Environment: github trunk, Java 6, Mac OS X 10.6.2
            Reporter: Hiro Asari
            Priority: Minor
             Fix For: JRuby 1.5


The initial call to 'exit' throws a TypeError. The second call to 'exit' 
succeeds.
{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) exit
Exception in thread "main" :1: `can't convert nil into String' (TypeError)
        from :1
:1:
(rdb:1) exit
surfboard:~$ 
{noformat}

Ctrl-D works.

-- 
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


Reply via email to