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

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


     *
     * Note that it will (currently) only work for changing local values that are in the topmost frame.
     * -- python has no way of making it work right now (see: pydevd_vars.changeAttrExpression)
     */
    public void setValue(String expression) throws DebugException {
        ChangeVariableCommand changeVariableCommand = getChangeVariableCommand(target, expression);
        target.postCommand(changeVariableCommand);
        this.value = expression;
        target.fireEvent(new DebugEvent(this, DebugEvent.CONTENT | DebugEvent.CHANGE));
    }
View Full Code Here


    public String getReferenceTypeName() throws DebugException {
        return type;
    }

    public ChangeVariableCommand getChangeVariableCommand(AbstractDebugTarget dbg, String expression) {
        return new ChangeVariableCommand(dbg, getPyDBLocation(), expression);
    }
View Full Code Here

TOP

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

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.