Package org.chromium.debug.core.model

Examples of org.chromium.debug.core.model.ValueBase$ValueWithLazyVariables


    evaluateContext.getJsEvaluateContext().evaluateAsync(
        expression, null,
        new JsEvaluateContext.EvaluateCallback() {
          @Override
          public void success(ResultOrException result) {
            ValueBase valueBase = result.accept(new ResultOrException.Visitor<ValueBase>() {
              @Override public ValueBase visitResult(JsValue value) {
                return Value.create(evaluateContext, value,
                    ExpressionTracker.createExpressionNode(expression));
              }
              @Override
View Full Code Here


    // use default label text
    return null;
  }

  public void computeDetail(IValue value, IValueDetailListener listener) {
    ValueBase chromiumValue = ValueBase.cast(value);
    if (chromiumValue == null) {
      String detail = BasicUtil.getStacktraceString(
          new Exception("Unexpected type of value: " + value)); //$NON-NLS-1$
      listener.detailComputed(value, detail);
      return;
    }
    Value realValue = chromiumValue.asRealValue();
    if (realValue == null) {
      String detail = chromiumValue.getValueString();
      listener.detailComputed(value, detail);
      return;
    }
    realValue.computeDetailAsync(listener);
  }
View Full Code Here

TOP

Related Classes of org.chromium.debug.core.model.ValueBase$ValueWithLazyVariables

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.