setTraceClassAllocation method Null safety
The setTraceClassAllocation
RPC allows for enabling or disabling
allocation tracing for a specific type of object. Allocation traces can be
retrieved with the getAllocationTraces
RPC.
If enable
is true, allocations of objects of the class represented by
classId
will be traced.
If isolateId
refers to an isolate which has exited, then the Collected
Sentinel is returned.
See Success
.
This method will throw a SentinelException in the case a Sentinel is returned.
Implementation
Future<Success> setTraceClassAllocation(
String isolateId, String classId, bool enable);