c-call and c-return are not traced
----------------------------------

                 Key: JRUBY-2744
                 URL: http://jira.codehaus.org/browse/JRUBY-2744
             Project: JRuby
          Issue Type: Bug
          Components: Interpreter
    Affects Versions: JRuby 1.1.3
         Environment: jruby 1.1.3-dev (ruby 1.8.6 patchlevel 114) (2008-07-03 
rev 7091) [i386-java]
            Reporter: Martin Krauskopf


Regression from 1.1.2.

{code}
$ cat test.rb
Kernel.set_trace_func(lambda do |event, file, line, id, binding, clazz|
  printf "%8s | %#{$0.length}s:%-4d | %12s | %8s\n", event, 
File.basename(file), line, id, clazz
end)

sleep 0.01

$ ruby -v test.rb
ruby 1.8.7 (2008-06-20 patchlevel 22) [i686-linux]
    line | test.rb:5    |              |    false
  c-call | test.rb:5    |        sleep |   Kernel
c-return | test.rb:5    |        sleep |   Kernel
$ jruby-1.1.2 -v --debug test.rb
ruby 1.8.6 (2008-06-10 rev 6586) [i386-jruby1.1.2]
    line | test.rb:5    |              |    false
  c-call | test.rb:5    |        sleep |   Kernel
c-return | test.rb:5    |        sleep |   Kernel
$ jruby -v --debug test.rb
jruby 1.1.3-dev (ruby 1.8.6 patchlevel 114) (2008-07-03 rev 7091) [i386-java]
    line | test.rb:5    |              |    false
{code}

Adding test to jruby-debug-base test suite.

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