forked from jruby/jruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Truffle Module
chrisseaton edited this page Jan 4, 2015
·
2 revisions
The Truffle module is only available when running in Truffle mode (-X+T).
-
Truffle::Primitive.binding_of_callerreturns theBindingof the caller of the method you call this method in
-
Truffle::Debug.dump_call_stackprint the current call stack -
Truffle::Debug.java_class_of(object)return the name of the Java class used to implement an object -
Truffle::Debug.panicprint Ruby and Java call stacks, Ruby local variables, AST traces, and exit -
Truffle::Debug.treereturn a string of the compact AST of the current method -
Truffle::Debug.full_treereturn a string of the full AST of the current method -
Truffle::Debug.parse_treereturn a string of the JRuby AST -
Truffle::Debug.flush_stdoutflush standard output