Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Make compatible with stack-trace module #3

Open
vjpr opened this issue Jul 21, 2015 · 1 comment
Open

Make compatible with stack-trace module #3

vjpr opened this issue Jul 21, 2015 · 1 comment

Comments

@vjpr
Copy link

vjpr commented Jul 21, 2015

Would be cool if it could be used with the stack-trace module to filter v8 CallSite objects.

Use case

I want to get the file name of the caller of an async function.

I am using Babel with ES7. My call stacks contain lots of generated function calls to regenerator, core-js, Promises/bluebird, etc. This makes it difficult to find the correct calling function in user code.

At the moment I would have to implement manual parsing of the stack string.

@cjohansen
Copy link
Member

Feel free to shoot a PR, and I'll merge.

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

No branches or pull requests

2 participants