# std.debug: add noinline to functions that capture the current stack trace · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/fdd109420d1c3d23a7a5a1036634b033b25cac04)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: fdd109420d1c3d23a7a5a1036634b033b25cac04

Requested commit: fdd109420d1c3d23a7a5a1036634b033b25cac04

Commit: fdd109420d1c3d23a7a5a1036634b033b25cac04

Tree: 381d475d3c92c25c19261c9bb96aea1a56692370

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
std.debug: add noinline to functions that capture the current stack trace

Fixes stack traces missing a frame depending on inlining decisions.

ref https://github.com/ziglang/zig/issues/25418

```

## Parents

- [0b33891f4c5a1de378ff6035380b84abbebfa6e2](https://git.cafe/gitcafe/zig/commit/0b33891f4c5a1de378ff6035380b84abbebfa6e2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/fdd109420d1c3d23a7a5a1036634b033b25cac04?format=markdown)
