-
Notifications
You must be signed in to change notification settings - Fork 921
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
Fewer <anonymous> functions in stack traces? #93
Open
Comments
(QuickJS still puts Safari to shame though!)
|
Is there any progress on this issue? |
Not yet, currently focusing on other issues: ropes, bug fixes and support for recent tc39 extensions.
Chqrlie.
… On 11 Apr 2022, at 05:07, Hongbo Wan ***@***.***> wrote:
Is there any progress on this issue?
—
Reply to this email directly, view it on GitHub <#93 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AE5F5KWHGAJFSADQMZRM5FTVEOJOJANCNFSM5EXALPYQ>.
You are receiving this because you are subscribed to this thread.
|
The above code does not display xxxx in call stack when it fails :( |
TooTallNate
pushed a commit
to TooTallNate/quickjs
that referenced
this issue
Dec 18, 2023
The removal of the high-precision but non-standard clock source in commit 5af98ca broke microbench because Date.now() is not granular enough for the benchmark runner to make forward progress. This commit adds a new method to the os module that returns time with microsecond precision.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here’s a program that makes a stack trace:
This is what QuickJS makes:
And Chrome:
And Firefox:
Both Chrome and Firefox include
dog.bark
in the stack trace, but in QuickJS this function is<anonymous>
.Getting the function name in the output is super handy. This example is trivial, but my real program has deep stacks full of
<anonymous>
and it slows down debugging.The text was updated successfully, but these errors were encountered: