Package org.eclipse.php.internal.debug.core.zend.debugger

Examples of org.eclipse.php.internal.debug.core.zend.debugger.DefaultExpressionsManager


    fDebugTarget.setBreakpoints(new IBreakpoint[] {});

    ILaunchConfiguration launchConfiguration = fDebugTarget.getLaunch()
        .getLaunchConfiguration();
    try {
      fDebugTarget.setExpressionManager(new DefaultExpressionsManager(
          fRemoteDebugger, launchConfiguration.getAttribute(
              IDebugParametersKeys.TRANSFER_ENCODING,
              PHPProjectPreferences.getTransferEncoding(null))));
    } catch (CoreException e) {
    }
View Full Code Here


   *            The variable name
   * @return
   */
  protected Expression getExpression(PHPDebugTarget debugTarget,
      String variable) {
    DefaultExpressionsManager expressionManager = debugTarget
        .getExpressionManager();
    Expression expression = expressionManager.buildExpression(variable);

    // Get the value from the debugger
    debugTarget.getExpressionManager().getExpressionValue(expression, 1);
    expressionManager.update(expression, 1);
    return expression;
  }
View Full Code Here

   * @param variable
   *            The variable name
   * @return
   */
  protected String getValue(PHPDebugTarget debugTarget, String variable) {
    DefaultExpressionsManager expressionManager = debugTarget
        .getExpressionManager();
    Expression expression = expressionManager.buildExpression(variable);

    // Get the value from the debugger
    debugTarget.getExpressionManager().getExpressionValue(expression, 1);
    expressionManager.update(expression, 1);
    String value = expression.getValue().getValueAsString();

    if (value != null && value.length() == 0) {
      value = "Empty"; //$NON-NLS-1$
      return value;
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.debug.core.zend.debugger.DefaultExpressionsManager

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.