Package org.tod.api

Examples of org.tod.api.DebugEventListener


     * Notify all event listeners of changes in the variables view.
     */
    private void fireLocalsChanged() {
        Iterator<DebugEventListener> listeners = this.getTODSession().getEventListeners();
        while (listeners.hasNext()) {
            DebugEventListener next = listeners.next();
            next.localsChanged();
        }
    }
View Full Code Here


            return;
        }
       
        Iterator<DebugEventListener> listeners = this.getTODSession().getEventListeners();
        while (listeners.hasNext()) {
            DebugEventListener next = listeners.next();
            next.callStackChanged(stack);
        }
    }
View Full Code Here

        info.setLineNumber(result.newLine);
        info.setThread(this.getTODSession().getThreadTracker().getByReference(this.thread));
        info.setSteps(result.steps);
        Iterator<DebugEventListener> eventListeners = this.getTODSession().getEventListeners();
        while (eventListeners.hasNext()) {
            DebugEventListener next = eventListeners.next();
            next.steppedOver(info);
        }
    }
View Full Code Here

        info.setLineNumber(result.newLine);
        info.setThread(this.getTODSession().getThreadTracker().getByReference(this.thread));
        info.setSteps(result.steps);
        Iterator<DebugEventListener> eventListeners = this.getTODSession().getEventListeners();
        while (eventListeners.hasNext()) {
            DebugEventListener next = eventListeners.next();
            next.steppedBackOver(info);
        }
    }
View Full Code Here

    @Override
    public void breakpointEvent(BreakpointEvent e) {
        Iterator<DebugEventListener> listeners = this.session.getEventListeners();
        while (listeners.hasNext()) {
            DebugEventListener listener = listeners.next();
            BreakpointRequest bpr = (BreakpointRequest) e.request();
            BreakpointInfo info = new BreakpointInfo();
            info.setClassInfo(this.session.getClassInformationProvider().getClassInfo(e.location().declaringType()));
            info.setMethodInfo(this.session.getClassInformationProvider().getMethodInfo(e.location().method()));
            info.setLineNumber(e.location().lineNumber());
            ThreadInfo threadInfo = this.session.getThreadTracker().getByReference(e.thread());
            this.session.getThreadTracker().setActiveThread(threadInfo);
            info.setThread(threadInfo);
            listener.breakpointReached(info);
            // TODO
            // Is this a "step into" event, or a real breakpoint?
            //if (this.expectingStepInto) {
            //listener.steppedInto((StateInfo)info);
            //    this.expectingStepInto = false;
View Full Code Here

TOP

Related Classes of org.tod.api.DebugEventListener

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.