Examples of IVariableLocator


Examples of org.python.pydev.debug.model.IVariableLocator

     */
    public void testVariable() throws Exception {

        execInterpreter("my_var=1");

        IVariableLocator frameLocator = new IVariableLocator() {
            public String getPyDBLocation() {
                return "console_main\t0\tFRAME";
            }
        };

        final Boolean passed[] = new Boolean[1];
        CustomGetFrameCommand cmd = new CustomGetFrameCommand(passed, debugTarget, frameLocator.getPyDBLocation());
        pydevConsoleCommunication.postCommand(cmd);
        waitUntilNonNull(passed);
        Assert.assertTrue(passed[0]);

        PyVariable[] variables = PyVariableCollection.getCommandVariables(cmd, debugTarget, frameLocator);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.