Skip to main content

Module debug

Module debug 

Source
Expand description

Runtime debug variable accessors.

These provide access to Swift runtime debugging facilities. Some variables are only available on Swift 6.3+ runtimes.

Functionsยง

allocation_pool_size
Metadata allocation pool size (Swift 6.3+). Returns None on older runtimes.
metadata_allocator_page_size
Metadata allocator page size (Swift 6.3+). Returns None on older runtimes.
task_slab_allocator_enabled
Whether the concurrency task slab allocator is enabled (Swift 6.3+). Returns None on older runtimes.