Skip to content

Maximum number of backtrace frames is not configurable #64194

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-libs-api[DEPRECATED; DO NOT USE]

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions