# Debugging

## Heap debugging utilities
::: tip usage
(import :std/debug/heap)
:::

### memory-usage
::: tip usage
```
(memory-usage ...)
```
:::

Please document me!

### heap-type-stats
::: tip usage
```
(heap-type-stats ...)
```
:::

Please document me!

### dump-heap-stats!
::: tip usage
```
(dump-heap-stats! ...)
```
:::

Please document me!

### walk-heap!
::: tip usage
```
(walk-heap! ...)
```
:::

Please document me!

### count-still
::: tip usage
```
(count-still ...)
```
:::

Please document me!

### still-objects
::: tip usage
```
(still-objects ...)
```
:::

Please document me!

### still-objects/refcount
::: tip usage
```
(still-objects/refcount ...)
```
:::

Please document me!


## Memory leak debugging utilities
::: tip usage
(import :std/debug/memleak)
:::

### heap-summary
::: tip usage
```
(heap-summary ...)
```
:::

Please document me!

### heap-summary-delta
::: tip usage
```
(heap-summary-delta ...)
```
:::

Please document me!

### dump-heap-summary!
::: tip usage
```
(dump-heap-summary! ...)
```
:::

Please document me!

### watch-heap!
::: tip usage
```
(watch-heap! ...)
```
:::

Please document me!



## Thread debugging utilities
::: tip usage
(import :std/debug/threads)
:::

### dump-all-threads!
::: tip usage
```
(dump-all-threads! ...)
```
:::

Please document me!

### dump-all-threads/queue!
::: tip usage
```
(dump-all-threads/queue! ...)
```
:::

Please document me!

### dump-thread-group!
::: tip usage
```
(dump-thread-group! ...)
```
:::

Please document me!

### dump-thread-group!*
::: tip usage
```
(dump-thread-group!* ...)
```
:::

Please document me!

### dump-thread!
::: tip usage
```
(dump-thread! ...)
```
:::

Please document me!

### dump-thread-stack-trace!
::: tip usage
```
(dump-thread-stack-trace! ...)
```
:::

Please document me!

### thread-queue-length
::: tip usage
```
(thread-queue-length ...)
```
:::

Please document me!

### thread-queue-empty?
::: tip usage
```
(thread-queue-empty? ...)
```
:::

Please document me!
