-
Notifications
You must be signed in to change notification settings - Fork 205
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
Support instantiation_stack when querying #3086
Comments
bmustiata
changed the title
Support instantiation_stack and definition_stack when querying
Support instantiation_stack when querying
Feb 29, 2024
At present we don't have an explicit representation of the call stack available (it's recreated on the fly when errors occur). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In bazel, it is possible to call the cquery with
--proto:instantiation_stack
.The
instantiation_stack
shows where the target is created from and can help a great deal with tracing where things are made. It will return an array withfile:column
entries from theBUILD.bazel
down to the native invoke.I'd like to have the same for
plz query graph
to investigate where things get created. I could probably try to implement this myself if some tips are provided on where I should get the stack trace from and how to attach it to the query item.Thank you for your great product!
The text was updated successfully, but these errors were encountered: