Examples of incrementCallerCount()


Examples of org.jruby.Ruby.incrementCallerCount()

        return RubyKernel.raise(context, runtime.getKernel(), args, Block.NULL_BLOCK); // throws
    } */

    private static RubyArray createCallerBacktrace(final ThreadContext context) {
        final Ruby runtime = context.runtime;
        runtime.incrementCallerCount();

        Method gatherCallerBacktrace; RubyStackTraceElement[] trace;
        try {
            gatherCallerBacktrace = context.getClass().getMethod("gatherCallerBacktrace");
            trace = (RubyStackTraceElement[]) gatherCallerBacktrace.invoke(context); // 1.6.8
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.