dotnet / dotnet/vscode-csharp

Debugger: 'Break all' operation caused 'Debug adapter has terminated' on WSL web Project.

Open
#1,298 2 comments 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

## Environment data
`dotnet --info` output:
VS Code version: 1.10.1
C# Extension version: v1.8.0-beta2(https://github.com/OmniSharp/omnisharp-vscode/releases/tag/v1.8.0-beta2)
OS: Windows 10 Enterprise Insider Preview
Build: 15150.1000.AMD64FRE.RS_ONECORE_BASE_BPT1.170305-1700_CLIENT_ENTERPRISE_EN-US_VL.VHDX
Scenarios: WSL Pipe

## Steps to reproduce
1. Open attached folder with VSCode.
[web.zip](https://github.com/OmniSharp/omnisharp-vscode/files/827336/web.zip)
2. Copy the code from Windows with the command "cp /mnt/c/temp/web/Program.cs ." in "Bash on Ubuntu on Windows" window.
3. Dotnet build.
4. Select 'launch(web)'.
5. Press F5 to start debugging.
6. Press 'Pause' to break all after print loop statements in Debug Console Window.

## Expected behavior
The Cursor hit the loop.

## Actual behavior
Pop up an error message:
![error](https://cloud.githubusercontent.com/assets/20184768/23700941/a7bc813a-042f-11e7-8fd4-8203551abbca.PNG)

## Investigation
1. This issue was unstable, but it occurs frequently in our testing.

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.