Package com.google.collide.client.code.debugging.DebuggerApiTypes

Examples of com.google.collide.client.code.debugging.DebuggerApiTypes.RemoteObjectSubType


      if (forceObjectFormat && remoteObject.hasChildren()) {
        return formatRemoteObjectInConsoleAsObject(remoteObject, debuggerState);
      }

      RemoteObjectType type = remoteObject.getType();
      RemoteObjectSubType subType = remoteObject.getSubType();
      if (type == RemoteObjectType.OBJECT && (subType == null ||
          subType == RemoteObjectSubType.ARRAY || subType == RemoteObjectSubType.NODE)) {
        // TODO: Display small ARRAYs inlined.
        // TODO: Display NODE objects as XML tree some day.
        return formatRemoteObjectInConsoleAsObject(remoteObject, debuggerState);
View Full Code Here


    if (isTransient || remoteObject == null || !hasChildren()) {
      return false;
    }

    RemoteObjectType type = remoteObject.getType();
    RemoteObjectSubType subType = remoteObject.getSubType();

    return type == RemoteObjectType.FUNCTION
        || (type == RemoteObjectType.OBJECT && subType != RemoteObjectSubType.NULL);
  }
View Full Code Here

      return null;
    }

    final RemoteObjectId objectId = parseRemoteObjectId(json.getStringField("objectId"));
    final RemoteObjectType remoteObjectType = parseRemoteObjectType(json.getStringField("type"));
    final RemoteObjectSubType remoteObjectSubType = parseRemoteObjectSubType(
        json.getStringField("subtype"));
    final String description = StringUtils.ensureNotEmpty(json.getStringField("description"),
        json.getFieldCastedToString("value"));

    return new RemoteObject() {
View Full Code Here

TOP

Related Classes of com.google.collide.client.code.debugging.DebuggerApiTypes.RemoteObjectSubType

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.