Fails to break on uncaught errors in nested async calls (works only on top level async call)
Reported by
yaa...@gmail.com,
Dec 6 2017
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 Steps to reproduce the problem: 1. Notice that the debugger correctly breaks on this uncaught exception in this code pen: https://codepen.io/yaaang/pen/pdmWvp Code here: function sleep() { return new Promise(resolve => setTimeout(resolve, 1)); } async function thrower() { await sleep(); throw '!'; } thrower(); 2. Try running this one now: https://codepen.io/yaaang/pen/OOYxyb Code: ... (async function() { await thrower(); })(); What is the expected behavior? Debugger should break. It does so for outermost async call only. Firefox does support this. What went wrong? Debugger did not break. Did this work before? N/A Chrome version: 62.0.3202.94 Channel: n/a OS Version: OS X 10.10.5 Flash Version: This would be a major boon to debugging productivity.
,
Jan 12 2018
caitp@ can you please take a look? Thanks!
,
Jan 12 2018
I won’t be able to look at this until at least Feb.
,
Jan 25 2018
Georg, is this something you have an idea about?
,
Jan 26 2018
Not at all.
,
Oct 3
|
||||
►
Sign in to add a comment |
||||
Comment 1 by paulir...@chromium.org
, Dec 8 2017Status: Assigned (was: Unconfirmed)