dotnet / dotnet/vscode-csharp

Debugger: Call stack sometimes wrong after 'Pause' on Linux

Open
#1,616 3 comments 0 reactions 0 assignees View on GitHub
Debugger OmniSharp
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
18h 40m
Merged PRs (30d)
31

Description

## Environment data
`dotnet --info` output:
- .NET Core SDK: 1.0.0-preview2-1-003177
- OS Name: rhel
- OS Version: 7.2
- OS Platform: Linux
- RID: rhel.7.2-x64

VS Code version: v1.13.1
C# Extension version: v1.12.0-beat1

## Steps to reproduce

1. Open attached folder.
[hwapp.zip](https://github.com/OmniSharp/omnisharp-vscode/files/1118826/hwapp.zip)

2. Select '.NET Core Attach'.
3. Run 'dotnet run' command in termnal.
4. Press F5 to select process and start debugging.
5. Press 'Pause'

## Expected behavior
The cursor should be hit the current line contains text 'Thread.Sleep(1000);' and Call Stack window should be as following:
![image](https://user-images.githubusercontent.com/20184778/27782450-304f014a-6005-11e7-9848-b9c566e0c365.png)

## Actual behavior
The cursor didn't hit any line and the Call Stack frame is incorrectly:
![image](https://user-images.githubusercontent.com/20184778/27782997-19938456-6007-11e7-99eb-30444978b0a8.png)

[log.txt](https://github.com/OmniSharp/omnisharp-vscode/files/1119146/log.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.