⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (495 Bytes)
Bug #13392
» tracepoint_bug.rb
areman01 (André Kullmann)
, 03/31/2017 08:26 PM
if
RUBY_ENGINE
==
'jruby'
puts
"
#{
RUBY_ENGINE
}
-
#{
JRUBY_VERSION
}
(ruby-
#{
RUBY_VERSION
}
java-
#{
java
.
lang
.
System
.
get_property
(
'java.version'
)
}
)"
else
puts
"
#{
RUBY_ENGINE
}
-
#{
RUBY_VERSION
}
-p
#{
RUBY_PATCHLEVEL
}
(
#{
RUBY_PLATFORM
}
)"
end
require
File
.
expand_path
(
'../tracepoint_bug_ext.rb'
,
__FILE__
)
TracePoint
.
new
(
:call
,
:return
,
:c_call
,
:c_return
)
do
|
trace_point
|
puts
"
#{
trace_point
.
path
}
:
#{
trace_point
.
lineno
}
#{
trace_point
.
event
}
#{
trace_point
.
method_id
}
"
end
.
enable
do
0
.
to_s
end
« Previous
1
2
Next »
(1-1/2)
Loading...