Status: New
Owner: ----

New issue 3093 by [email protected]: Debugging promises
http://code.google.com/p/v8/issues/detail?id=3093

Uncaught rejections are currently silent failures, which isn't great.

Having a stack track in the console for uncaught rejections would be a big win. Although, I'm not completely clear how that can be done since catches can be added asynchronously. Other promise libraries use done() for this, but we don't have that.

https://github.com/domenic/promises-unwrapping/issues/19#issuecomment-23787062 - the suggestion is to report uncaught errors on GC, but that may not happen until unload/exit if the promise remains in scope. Any ideas?

In terms of graphical debugging, the ember guys have some ideas https://github.com/tildeio/ember-extension/pull/76#issuecomment-31666151, but having a simple error logged for terminal use would be a great start (for node.js too).

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to