bytecodealliance / bytecodealliance/wasmtime

wasmtime: Add a config knob to control the maximum number of stack frames captured in a backtrace

Open
#5,052 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
18.6k
Forks
1.8k
Avg merge
1d 19h
Merged PRs (30d)
121

Description

Would make capturing a backtrace go from `O(n)` where `n` is the number of Wasm frames on the stack to constant time for some user-defined acceptable constant. Max frames could be set to zero to disable backtraces completely. Would subsume the current (and deprecated) `Config::wasm_backtrace` method.

Follow up to #5049.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.