Bug 291670
| Summary: | Web Inspector: Debugger: preserve the pause reason and data when stepping over `await` | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Devin Rousso <hi> |
| Component: | Web Inspector | Assignee: | Devin Rousso <hi> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | inspector-bugzilla-changes, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
| Bug Depends on: | 291309 | ||
| Bug Blocks: | |||
Devin Rousso
currently the pause reason section of the navigation sidebar in the Sources Tab is empty when stepping over the `await` in code like
```js
(async function() {
debugger;
console.log("before");
await (async function() { return 42; })();
console.log("after");
})()
```
it should show "Debugger Statement" as the pause reason with the debugger breakpoint next to it so that the developer can see why the pause happened in the first place
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Devin Rousso
Pull request: https://github.com/WebKit/WebKit/pull/44186
EWS
Committed 293844@main (f3095ecef1bb): <https://commits.webkit.org/293844@main>
Reviewed commits have been landed. Closing PR #44186 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/149528860>