Package org.python.pydev.debug.model.remote

Examples of org.python.pydev.debug.model.remote.GetVariableCommand


        } else if (networkState == NETWORK_REQUEST_NOT_ARRIVED) {
            return getWaitVariables();
        }

        // send the command, and then busy-wait
        GetVariableCommand cmd = getVariableCommand(target);
        cmd.setCompletionListener(this);
        networkState = NETWORK_REQUEST_NOT_ARRIVED;
        fireChangeEvent = false; // do not fire change event while we are waiting on response
        target.postCommand(cmd);
        try {
            // VariablesView does not deal well with children changing asynchronously.
View Full Code Here


            return getWaitVariables();
        }
    }

    public GetVariableCommand getVariableCommand(AbstractDebugTarget dbg) {
        return new GetVariableCommand(dbg, getPyDBLocation());
    }
View Full Code Here

            target = variableCollection.getTarget();
            if (target != null) {
                locator = variableCollection;

                GetVariableCommand variableCommand = variableCollection.getVariableCommand(target);
                variableCommand.setCompletionListener(this);
                target.postCommand(variableCommand);
                return waitForCommand();
            }
            return new Object[0];

        } else if (o instanceof PyStackFrame) {
            PyStackFrame f = (PyStackFrame) o;

            target = f.getTarget();
            if (target != null) {
                locator = f;

                GetVariableCommand variableCommand = f.getFrameCommand(target);
                variableCommand.setCompletionListener(this);
                target.postCommand(variableCommand);
                return waitForCommand();
            }
            return new Object[0];
View Full Code Here

TOP

Related Classes of org.python.pydev.debug.model.remote.GetVariableCommand

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.