Examples of DBGpVariable


Examples of org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpVariable

    if (value instanceof DBGpStringValue) {
      DBGpStringValue strValue = (DBGpStringValue) value;
      if (strValue.isComplete() == false) {
        DBGpTarget target = (DBGpTarget) value.getDebugTarget();
        DBGpVariable dbgpVar = (DBGpVariable) variable;
        String stackLevel = dbgpVar.getStackLevel();
        Node result = target.getCompleteString(dbgpVar.getFullName(),
            stackLevel, strValue.getRequiredBytes());
        if (result != null) {
          IVariable tempVar = new DBGpVariable(target, result,
              stackLevel);
          IValue valRes = null;
          try {
            valRes = tempVar.getValue();
            if (valRes != null) {
              // update the variable with the latest value.
              ((DBGpVariable) variable).replaceValue(valRes);
              initialValue = valRes.getValueString();
            }
View Full Code Here

Examples of org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpVariable

    Node resp = debugTarget.eval(variable); // note this is a synchronous
                        // call
    if (resp == null) {
      return ""; //$NON-NLS-1$
    }
    IVariable tempVar = new DBGpVariable(debugTarget, resp, "-2"); //$NON-NLS-1$

    IValue val = null;

    try {
      val = tempVar.getValue();
      if (val != null) {
        value = val.getValueString();
      }
    } catch (DebugException e) {
    }
View Full Code Here

Examples of org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpVariable

    Node resp = debugTarget.getProperty(variable, context.getStackLevel(),
        0);
    if (resp == null) {
      return ""; //$NON-NLS-1$
    }
    IVariable tempVar = new DBGpVariable(debugTarget, resp, "-2"); //$NON-NLS-1$

    IValue val = null;

    try {
      val = tempVar.getValue();
      if (val != null) {
        value = val.getValueString();
      }
    } catch (DebugException e) {
    }
View Full Code Here

Examples of org.eclipse.php.internal.debug.core.xdebug.dbgp.model.DBGpVariable

       * == -1) { result = debugTarget.getProperty(testExp, stackLevel,
       * 0); } else { result = debugTarget.eval(testExp); }
       */
      result = debugTarget.eval(testExp);
      if (result != null) {
        IVariable tempVar = new DBGpVariable(debugTarget, result,
            stackLevel);
        evalResult = null;
        try {
          evalResult = tempVar.getValue();
          if (evalResult == null) {
            hasErrors = true;
          }
        } catch (Exception e) {
          hasErrors = true;
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.