Skip to content

Maximum number of backtrace frames is not configurable #64194

Closed
@Aaron1011

Description

@Aaron1011

The standard library currently has a hard-coded limit of 100 frames when printing a backtrace. However, some applications may have larger call stacks - without rebuilding libstd, it's impossible for them to obtain proper backtraces.

The standard library should provide an environment variable which overrides the default backtrace frame limit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions