dotnet / dotnet/vscode-csharp

Stepping into async code sometimes doesn't work

Open
#3,886 2 comments 0 reactions 0 assignees View on GitHub
Debugger OmniSharp Triaged
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
17h 56m
Merged PRs (30d)
21

Description

I'm following the steps [here](https://github.com/OmniSharp/omnisharp-vscode/wiki/Debugging-into-the-.NET-Framework-itself) and it works except I can't step into async methods.

When I try to step into, for example, `await authService.SignInAsync();`, the next line the debuggers shows is something in AsyncMethodBuilder.cs. Then if I step into again it bumps me back out to where I tried to step into the async method.

I expected to see the `AuthenticationService.cs` source file.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.