-
-
Notifications
You must be signed in to change notification settings - Fork 382
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
Implement console.trace()
method
#3808
Comments
could I give this a go? |
Sure :) |
@HalidOdat Stack traces came up in discord. I don't think I had paid attention too much (EDIT: to the current state of the implementation). Where were we in regards to the implementation of stack traces? |
It was me who asked the question in the discord, thank you for the reply there! |
Currently the only thing we can get is the function names of the trace from the call stack. But I think just printing the names is good enough for now, and we can create an issue for improving the |
There's already a barebones implementation that prints out the function names so I thought this issue would be improving it by adding locations and such, does that mean I should leave it alone for now? |
I see, the issue does not seem to be up to date with the implementation, In that case I would close this issue for now, to get line number requires more work, mainly:
Each one of these issues deserves a PR 😅 EDIT: If your interested in working on any of these, feel free to ask about them :) |
Closing because there is already a basic implementation of |
Specification: https://console.spec.whatwg.org/#trace
MDN Documentation: https://developer.mozilla.org/en-US/docs/Web/API/console/trace_static
The text was updated successfully, but these errors were encountered: