Does stepping through async code in Xcode 13 or 14 work for anyone? Apple seems to think it works (they keep rejecting the feedback I send), but it just doesn't work for me. I opened a new bug about the same issue today (because they closed my previous one), wherein I can't step over an await
call; the debugger just continues as if I had told it to Continued instead of step over.
Trying things out with a simple macOS app project, it's a bit better. In a unit test, I can sort-of step over an async call, but it takes three invocations of the step over command. Attempting to Run after that results in a runtime error that it couldn't set a breakpoint ("step over failed (Could not create return address breakpoint.)"). Continuing after that things complete normally. I am unable to step into the call at all
A similar call from a running SwiftUI app has to be stepped over twice before the "step over failed" error. It also cannot step in without error.
In my large Vapor app, stepping into or over just results in behavior as if I had Continued.