*/
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);