debugLoadedModuleCount property
int
get
debugLoadedModuleCount
Step #3 (retention) — number of bundle modules whose SCompilationUnit
this runner currently retains (via the most recent _lastModuleLoader).
0 before the first execute or after dispose. Because every
executeBundle builds a fresh loader, this reflects only the current
run, never an accumulation of prior runs' ASTs.
Implementation
int get debugLoadedModuleCount => _lastModuleLoader?.loadedModuleCount ?? 0;