dotnet / dotnet/vscode-csharp

Debugger: Async method call stack frame incorrectly

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

Description

## Environment data
`dotnet --info` output:
OS: ubuntu.16.10-x64
VS Code version: 1.8.1
C# Extension version: 1.7.0-beta1
.NET Core version: 1.0.0-preview2-1- 003177

## Steps to reproduce
1. Download AsyncDebuggee folder in attachments directly and open with VSCode
[AsyncDebuggee.zip](https://github.com/OmniSharp/omnisharp-vscode/files/721843/AsyncDebuggee.zip)
2. Select the debug type ''.Net core Launch(console)"
3. Set a breakpoint at line of 29
4. Press F5 to start debugging

## Expected behavior
When the BP be hit, the call stack window frame should be as following:
![p4correct](https://cloud.githubusercontent.com/assets/20184778/22181645/3714133a-e0cb-11e6-8819-642f708ccca2.PNG)

## Actual behavior
The call stack window frame incorrectly, and debugging results are different as following:
![p1](https://cloud.githubusercontent.com/assets/20184778/22181675/c98ea3a6-e0cb-11e6-89ff-fd4653cde7ba.PNG)
![p2](https://cloud.githubusercontent.com/assets/20184778/22181673/c98e89fc-e0cb-11e6-9b01-5b3a06020649.PNG)
![p3](https://cloud.githubusercontent.com/assets/20184778/22181674/c98eaaf4-e0cb-11e6-8d2e-f286dd9cefaf.PNG)
This is the log of P2.
[P2log.txt](https://github.com/OmniSharp/omnisharp-vscode/files/721849/P2log.txt)

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.