tracer appears to give the wrong line numbers.
----------------------------------------------
Key: JRUBY-4912
URL: http://jira.codehaus.org/browse/JRUBY-4912
Project: JRuby
Issue Type: Bug
Environment: jruby 1.6.0.dev (ruby 1.8.7 patchlevel 249) (2010-06-30
2d1eff7) (Java HotSpot(TM) Client VM 1.6.0_18) [x86-java]
Reporter: Roger Pack
Assignee: Thomas E Enebo
Using the code from the bottom of this gist:
http://gist.github.com/458719
yields outputs like:
#0:C:/dev/ruby/downloads/jruby/lib/ruby/gems/1.8/gems/win32screenshot-0.0.4/lib/win32/screenshot/bitmap_maker.rb:72::-:
attach_function :minimized,
:IsIconic,#0:C:/dev/ruby/downloads/jruby/lib/ruby/gems/1.8/gems/win32screenshot-0.0.4/lib/win32/screenshot/bitmap_maker.rb:72:FFI::AbstractMemory:>:
attach_function :minimized,
:IsIconic,#0:C:/dev/ruby/downloads/jruby/lib/ruby/gems/1.8/gems/win32screenshot-0.0.4/lib/win32/screenshot/bitmap_maker.rb:72:FFI::AbstractMemory:<:
attach_function :minimized,
:IsIconic,#0:C:/dev/ruby/downloads/jruby/lib/ruby/gems/1.8/gems/win32screenshot-0.0.4/lib/win32/screenshot/bitmap_maker.rb:73::-:#
but there is no line "attach_function" on gitmap_maker.rb line 72.
At least, I think this is a bug...
(Note I am reporting on the Tracer bug, not the subsequent jffi blowup).
Thanks!
--
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