Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger: Remove breakpoint is invalid in the case of lanuch #1297

Closed
qian6 opened this issue Mar 8, 2017 · 2 comments
Closed

Debugger: Remove breakpoint is invalid in the case of lanuch #1297

qian6 opened this issue Mar 8, 2017 · 2 comments
Labels

Comments

@qian6
Copy link

@qian6 qian6 commented Mar 8, 2017

Environment data

dotnet --info output:
VS Code version: 1.10.1
C# Extension version: v1.8.0-beta2
OS: Win10 RS2
Build: \winbuilds\release\RS_ONECORE_BASE_BPT1\15150.1000.170305-1700\amd64fre\vhdx\vhdx_client_enterprise_en-us_vl\15150.1000.AMD64FRE.RS_ONECORE_BASE_BPT1.170305-1700_CLIENT_ENTERPRISE_EN-US_VL.VHDX
Scenarios: WSL Pipe

Steps to reproduce

  1. Open hwapp folder in vscode .
    hwapp.zip
  2. Select “lanuch” configuration
  3. Use command to run process.
  4. Set a breakpoint at line of 11 in Program.cs and it hit breakpoint.
  5. Remove breakpoint and press continue.

Expected behavior

It should in running mode.

Actual behavior

It is in break mode.

Investigation

This issue can repro in the case of attach.

@qian6
Copy link
Author

@qian6 qian6 commented Mar 9, 2017

The issue reproduce on following scenario:
1.Add a for loop as bellow:
for(int a=0;a<1000;a++)
{
Console.WriteLine("hello"); // Run to cursor here
}
2.F5.
3.Right click the vscode , choose the "Run to cursor" on the line which contains text " Console.WriteLine("hello"); "
4.F5.

[Expected]
Vscode would not stop at line which contains text " Console.WriteLine("hello"); "
[Actual]
Vscode stopped at the line which contains text " Console.WriteLine("hello"); "

@rajkumar42
Copy link
Contributor

@rajkumar42 rajkumar42 commented Mar 14, 2017

Should be available with https://github.com/Microsoft/vscode/milestone/37 release of VSCode.

@rajkumar42 rajkumar42 closed this Mar 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.