-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
uncaught exceptions' stack traces aren't being printed #1199
Comments
yep |
@jonathanong Do we know what caused this? |
if i knew i would fix it! |
is this related to this #1198 ? may be fixed in the latest version. |
@travisjeffery Doesn't appear to be. I reverted the change and am still not getting a full stack. |
OK, this has been an issue for a long time. I checked as early as v1.10.0 and it's still there. This seems to only affect the "maximum call stack size exceeded" So if I had to hazard a guess, NodeJS could do a better job of telling the user exactly where the recursive error happened. I'm not sure there's anything to do here. |
👍 for node handling this better |
@travisjeffery To test the plain ol' uncaught exceptions, I followed the directions in To test maximum call stack size exceeded, I appended this test to the same file: it('should give you a proper stack trace if recursive error', function (done) {
process.nextTick(function notDone() {
notDone();
})
}); I found this SO thread and I'm thinking we're SOL here. |
(fwiw I tried this under NodeJS v0.11.13 and it still doesn't work) |
alright we might as well close this here i guess |
super annoying to debug =/
The text was updated successfully, but these errors were encountered: