Package-level declarations

Types

Link copied to clipboard
@Serializable
data class AddInspectedHeapObjectRequest(val heapObjectId: HeapSnapshotObjectId)

Request object containing input parameters for the HeapProfilerDomain.addInspectedHeapObject command.

Link copied to clipboard
@Serializable
object AddInspectedHeapObjectResponse

A dummy response object for the HeapProfilerDomain.addInspectedHeapObject command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
object CollectGarbageResponse

A dummy response object for the HeapProfilerDomain.collectGarbage command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
object DisableResponse

A dummy response object for the HeapProfilerDomain.disable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
object EnableResponse

A dummy response object for the HeapProfilerDomain.enable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class GetHeapObjectIdRequest(val objectId: RemoteObjectId)

Request object containing input parameters for the HeapProfilerDomain.getHeapObjectId command.

Link copied to clipboard
@Serializable
data class GetHeapObjectIdResponse(val heapSnapshotObjectId: HeapSnapshotObjectId)

Response type for the HeapProfilerDomain.getHeapObjectId command.

Link copied to clipboard
@Serializable
data class GetObjectByHeapObjectIdRequest(val objectId: HeapSnapshotObjectId, val objectGroup: String? = null)

Request object containing input parameters for the HeapProfilerDomain.getObjectByHeapObjectId command.

Link copied to clipboard
@Serializable
data class GetObjectByHeapObjectIdResponse(val result: RemoteObject)

Response type for the HeapProfilerDomain.getObjectByHeapObjectId command.

Link copied to clipboard
@Serializable
data class GetSamplingProfileResponse(val profile: SamplingHeapProfile)

Response type for the HeapProfilerDomain.getSamplingProfile command.

Link copied to clipboard
Link copied to clipboard

Heap snapshot object id.

Official doc

Link copied to clipboard
@Serializable
data class SamplingHeapProfile(val head: SamplingHeapProfileNode, val samples: List<SamplingHeapProfileSample>)

Sampling profile.

Link copied to clipboard
@Serializable
data class SamplingHeapProfileNode(val callFrame: CallFrame, val selfSize: Double, val id: Int, val children: List<SamplingHeapProfileNode>)

Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.

Link copied to clipboard
@Serializable
data class SamplingHeapProfileSample(val size: Double, val nodeId: Int, val ordinal: Double)

A single sample from a sampling profile.

Link copied to clipboard
@Serializable
data class StartSamplingRequest(val samplingInterval: Double? = null, val includeObjectsCollectedByMajorGC: Boolean? = null, val includeObjectsCollectedByMinorGC: Boolean? = null)

Request object containing input parameters for the HeapProfilerDomain.startSampling command.

Link copied to clipboard
@Serializable
object StartSamplingResponse

A dummy response object for the HeapProfilerDomain.startSampling command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class StartTrackingHeapObjectsRequest(val trackAllocations: Boolean? = null)

Request object containing input parameters for the HeapProfilerDomain.startTrackingHeapObjects command.

Link copied to clipboard

A dummy response object for the HeapProfilerDomain.startTrackingHeapObjects command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class StopSamplingResponse(val profile: SamplingHeapProfile)

Response type for the HeapProfilerDomain.stopSampling command.

Link copied to clipboard
@Serializable
data class StopTrackingHeapObjectsRequest(val reportProgress: Boolean? = null, val treatGlobalObjectsAsRoots: Boolean? = null, val captureNumericValue: Boolean? = null, val exposeInternals: Boolean? = null)

Request object containing input parameters for the HeapProfilerDomain.stopTrackingHeapObjects command.

Link copied to clipboard

A dummy response object for the HeapProfilerDomain.stopTrackingHeapObjects command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class TakeHeapSnapshotRequest(val reportProgress: Boolean? = null, val treatGlobalObjectsAsRoots: Boolean? = null, val captureNumericValue: Boolean? = null, val exposeInternals: Boolean? = null)

Request object containing input parameters for the HeapProfilerDomain.takeHeapSnapshot command.

Link copied to clipboard
@Serializable
object TakeHeapSnapshotResponse

A dummy response object for the HeapProfilerDomain.takeHeapSnapshot command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.