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

Original call to async.series cannot be traced #33

Open
boutell opened this issue Oct 25, 2014 · 2 comments
Open

Original call to async.series cannot be traced #33

boutell opened this issue Oct 25, 2014 · 2 comments

Comments

@boutell
Copy link

boutell commented Oct 25, 2014

longjohn is awesome, but for some reason, it can't quite finish the job of tracing from one of the various steps in an async.series call (using the well-known async npm module) all the way back up to the place where async.series was invoked.

I have put together a simple test showing that the trace reaches a line of code in async.series itself, where it invokes async.mapSeries, but never rises above that to the application code that actually invoked async.series.

I am scratching my head here because I don't see where anything fancy is happening up to that point in the async.series code that would make it tough to retain the rest of the stack trace above that point.

I would love some insight as to what keeps longjohn from reporting the whole story.

Thanks!

https://github.com/boutell/longjohn-async-test

@mattinsler
Copy link
Owner

I can replicate this, but am having a hard time figuring out what is cutting the stack list off. I'll continue to look into this. It's seems to be an edge case within longjohn and not something directly related to async.

@boutell
Copy link
Author

boutell commented Oct 27, 2014

Thanks for checking it out!

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