Bug 291309

Summary: Web Inspector: Debugger: add a way to step over `await` as though it was sync code
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: 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:    
Bug Blocks: 291670    

Devin Rousso
Reported 2025-04-08 21:04:01 PDT
when debugging async code with `await` it's often more desirable to follow what's written in code (i.e. as if the `await` didnt exist) instead of the literal execution flow, especially since with `await` that can sometimes mean execution just stops for example, continually "Step Over" from the `debugger` should (eventually) pause at the `"after"` instead of just nothing ``` (async function() { debugger; console.log("before"); await (async function() { return 42; })(); console.log("after"); })() ```
Attachments
Devin Rousso
Comment 1 2025-04-08 22:39:21 PDT
EWS
Comment 2 2025-04-12 08:34:30 PDT
Committed 293628@main (6eceba582581): <https://commits.webkit.org/293628@main> Reviewed commits have been landed. Closing PR #43834 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-04-12 08:35:15 PDT
Note You need to log in before you can comment on or make changes to this bug.