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

To document what we discussed:
#54 would be a feature request. Rejections are only treated the same as throws wrt exception debug events. Wrt Javascript execution, they are different: an uncaught throw interrupts execution, and a message is posted to Chrome, which logs to console, even if devtools is off. An uncaught** rejection/throw in a Promise doesn't interrupt execution, V8 carries on, since that's what's expected. There is no pending exception and no pending message, hence there is no message logged to console.

** uncaught in the sense that there is no rejection handler.

--
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/d/optout.

Reply via email to