Skip to content

get locals on all stack frames #316

Closed
@wiltzius

Description

@wiltzius

I find the with_locals feature really useful. It helps give the data context needed to spot issues quickly in many cases.

Unfortunately, we only seem to get locals for the first ~12 and last ~12 stack frames in our Python project. Because almost all of that is framework code in both cases (request handling up top, error handling at the bottom), we rarely get the locals relevant to our business logic.

Is there some way to get stack locals for all (or at least most) frames? I understand this might be arbitrarily expensive, but just having a way to increase the limit would be helpful

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions