TakeHeapSnapshotRequest

@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.

Constructors

Link copied to clipboard
constructor(reportProgress: Boolean? = null, treatGlobalObjectsAsRoots: Boolean? = null, captureNumericValue: Boolean? = null, exposeInternals: Boolean? = null)

Types

Link copied to clipboard
class Builder

A builder for TakeHeapSnapshotRequest, which allows setting the optional parameters of the HeapProfilerDomain.takeHeapSnapshot command via a lambda.

Properties

Link copied to clipboard

If true, numerical values are included in the snapshot

Link copied to clipboard

If true, exposes internals of the snapshot.

Link copied to clipboard
val reportProgress: Boolean? = null

If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken.

Link copied to clipboard

If true, a raw snapshot without artificial roots will be generated. Deprecated in favor of exposeInternals.