dotnet / dotnet/vscode-csharp

Debugger: 'Main Thread' detection doesn't exist on Linux/Mac

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

Description

dotnet --info output:
VS Code version: 1.9.1
C# Extension version: 1.7.0
OS: Windows 10 Enterprise Insider Preview
Build: 15032.1000.AMD64FRE.RS_ONECORE_BASE_BPT1.170207-1700_CLIENT_ENTERPRISE_EN-US_VL.VHDX
Scenarios: WSL Pipe

## Steps to reproduce
1. Open attached folder.
[app1.zip](https://github.com/OmniSharp/omnisharp-vscode/files/766153/app1.zip)

2. Copy the code from Windows with the command "cp /mnt/c/temp/app1/Program.cs ." in "Bash on Ubuntu on Windows" window.
3. dotnet build & dotnet run.
4. Set the bp in the line 'Console.WriteLine("Hello world");'.
5. Select 'Pipe Attach'.
6. F5 to start debugging.

## Expected behavior
![expected](https://cloud.githubusercontent.com/assets/20184768/22821136/c31f6436-efb4-11e6-9acc-ac7ea2e8c5ed.PNG)

## Actual behavior
![actual](https://cloud.githubusercontent.com/assets/20184768/22821142/c6baed72-efb4-11e6-9659-b09388e2c198.PNG)

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.