Package org.jruby.truffle.runtime.backtrace

Examples of org.jruby.truffle.runtime.backtrace.Backtrace


        public Object caller(int omit) {
            notDesignedForCompilation();

            omit += 1; // Always ignore this node

            Backtrace backtrace = RubyCallStack.getBacktrace(this);
            List<Activation> activations = backtrace.getActivations();
            int size = activations.size() - omit;

            if (size < 0) {
                return getContext().getCoreLibrary().getNilObject();
            }
View Full Code Here


            });

        }

        return new Backtrace(activations.toArray(new Activation[activations.size()]));
    }
View Full Code Here

TOP

Related Classes of org.jruby.truffle.runtime.backtrace.Backtrace

Copyright © 2018 www.massapicom. 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.