core/commands/heap_dump/heap_dump library
Classes
- HeapDumpAppDied
- App terminated mid-operation.
- HeapDumpError
- Generic or unexpected error.
- HeapDumpNoIsolate
- No Flutter isolate was found (app not running or no VM service).
- HeapDumpResult
- Result of a dumpHeap invocation.
- HeapDumpSuccess
- Snapshot captured and written to outputPath.
Functions
-
dumpHeap(
HeapDumpInput input) → Future< HeapDumpResult> - Captures a DevTools-loadable heap snapshot for the running Flutter app.
Typedefs
- HeapDumpInput = ({String? isolateId, String outputPath, bool skipGc})
- Input parameters for dumpHeap.