Function chakracore_sys::JsDiagGetProperties [] [src]

pub unsafe extern "system" fn JsDiagGetProperties(
    objectHandle: c_uint,
    fromCount: c_uint,
    totalCount: c_uint,
    propertiesObject: *mut JsValueRef
) -> JsErrorCode

Gets the list of children of a handle. Handle of object. 0-based from count of properties, usually 0. Number of properties to return. Array of properties. Handle should be from objects returned from call to JsDiagGetStackProperties. For scenarios where object have large number of properties totalCount can be used to control how many properties are given. { "totalPropertiesOfObject": 10, "properties" : [{ "name" : "__proto__", "type" : "object", "display" : "{...}", "className" : "Object", "propertyAttributes" : 1, "handle" : 156 } ], "debuggerOnlyProperties" : [{ "name" : "[Map]", "type" : "string", "value" : "size = 0", "propertyAttributes" : 2, "handle" : 157 } ] } The code JsNoError if the operation succeeded, a failure code otherwise. The current runtime should be in debug state. This API can only be called when runtime is at a break.