Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

templates and iterators in stacktraces #808

Open
timotheecour opened this issue Aug 30, 2021 · 1 comment
Open

templates and iterators in stacktraces #808

timotheecour opened this issue Aug 30, 2021 · 1 comment

Comments

@timotheecour
Copy link
Owner

timotheecour commented Aug 30, 2021

proposal

use a LRU cache with N (=10) most recent template/iterator calls, and upon stacktrace, show those to give more context

rationale

alternative would be to identify all exit points of templates/iterators, which may be doable but is harder to implement (and possibly inefficient)

links

see also nkComesFrom which IIRC had similar goals

@juancarlospaco
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants