Sources not available during command-line debugging
---------------------------------------------------

                 Key: JRUBY-877
                 URL: http://jira.codehaus.org/browse/JRUBY-877
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.0.0
         Environment: Linux, recent JRuby trunk build
            Reporter: Martin Krauskopf
            Assignee: Thomas E Enebo
            Priority: Minor


I.e. 'l[ist]' command does not work. Presumably the reasons is that 
SCRIPT_LINES__ hash is empty.

{code}
$ ruby -rdebug -e 'puts a'
-e:1:puts a
(rdb:1) pp SCRIPT_LINES__.keys
["-e",
 "/space/ruby/ruby-1.8.6/lib/ruby/1.8/prettyprint.rb",
 "/space/ruby/ruby-1.8.6/lib/ruby/1.8/pp.rb"]
{code}

{code}
$ jruby -rdebug -e 'puts a'
-e:1:
(rdb:1) pp SCRIPT_LINES__.keys
[]
{code}


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