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

Expand the details of a query in template file #504

Closed
ksdev-pl opened this issue May 18, 2016 · 2 comments
Closed

Expand the details of a query in template file #504

ksdev-pl opened this issue May 18, 2016 · 2 comments

Comments

@ksdev-pl
Copy link

Hi

Related to discussion: https://mobile.twitter.com/laravelnews/status/732550470149902336
(I'm posting this to allow eventual further discussion, as twitter is not a good place for this, and to have an explanation of a future pull request).

Imagine that you must work with a code of another person. There is a view with multiple partials and you wish to check in which one of them and at what line a query is triggered. With Query Tracer it is simple, as you see the cached template file name and specific line. You cannot do this so fast when seeing only a "Template file" information:

Screenshot

Barry is not sure about the usefulness of showing a name of cached template, instead of a real name. But for debugging purpose it is enough to see the cached template name - it is the same in the stack trace. Certainly it is better than seeing nothing.

Thanks for the debugbar (and the "backtrace" option), I cannot live without it.

@barryvdh
Copy link
Owner

See #503

@ksdev-pl
Copy link
Author

#503 is great. Thank you.

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