Package helma.scripting.rhino.debug

Examples of helma.scripting.rhino.debug.Profiler


        context = core.contextFactory.enterContext();

        if (core.hasTracer) {
            context.setDebugger(new Tracer(getResponse()), null);
        } else if (useProfiler()) {
            context.setDebugger(new Profiler(), null);
        }

        // register the engine with the current thread
        engines.set(this);
        // update prototypes
View Full Code Here


     *   execution context has terminated.
     */
    public synchronized void exitContext() {
        if (useProfiler()) {
            try {
                Profiler profiler = (Profiler) Context.getCurrentContext().getDebugger();
                String result = profiler.getResult();
                ResponseTrans res = getResponse();
                if (res != null) {
                    getResponse().debug("<pre>" + result + "</pre>");
                }
                app.logEvent("Profiler data for " + getRequest() + ":\n" + result);
View Full Code Here

TOP

Related Classes of helma.scripting.rhino.debug.Profiler

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.