dotnet / dotnet/vscode-csharp

Debugger: Step to a wrong line while debugging

Open
#1,289 11 comments 0 reactions 1 assignee Claimed by @WardenGnaw 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: \\scratch2\scratch\janraj\vsdbg3\csharp-1.8.0-beta1.vsix
.NET Core SDK: 1.0.0-preview2-1-003177
OS: linuxmint17

## Steps to reproduce
1. Open attached folder.
[hwapp.zip](https://github.com/OmniSharp/omnisharp-vscode/files/820541/hwapp.zip)
2. Set the "StopAtEntry: true" on launch.json.
3. Set bp at the line of 16 in Program.cs
4. Press F5 to start debugging.(Cursor hit the line of 9 in Program.cs)
5. F10
6. F11
7. F5(Continue).(Cursor hit the bp at the line of 16 in Program.cs)
8. F5

## Expected behavior
Stop debugging

## Actual behavior
Cursor hit the bp at the line of 9 in Program.cs or others line.

## Investigation
1. This issue is unstable.
2. Attached log file.
[log.txt](https://github.com/OmniSharp/omnisharp-vscode/files/820561/log.txt)
3. This issue also occur on opensuse13.2.
4. The log file only 2 lines when I collected log with adding" "args":["--engineLogging=/home/Claire/log.txt"] " on package.json.
I tried to this operation on different Linux OS, and many OS only can collected 2 lines log file. Could you please help to confirm it?

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.