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

"Set Next Statement(.NET)" option disappeared after restarting debugging. #2785

Closed
v-mengzh opened this issue Jan 8, 2019 · 2 comments
Closed

Comments

@v-mengzh
Copy link

v-mengzh commented Jan 8, 2019

Environment data
OS and Version: Mac Version 10.12.6
VS Code Version: 1.30.1
C# Extension Version:1.18.0-beta4

Steps to reproduce

  1. Install vscode and C# extension
  2. Open the Terminal, run as follow command to create new console project:
    dotnet new console -o myapp
  3. Add some code in the program.cs and set a breakpoint
  4. Configure launch.json as following:
    image
  5. F5, wait for hitting the breakpoint
  6. Move your cursor to the next statement you would like to execute next, and right click "Set Next Statement(.NET)", it work normally
  7. Restart debugging and repeat step6

Expected
"Set Next Statement(.NET)" option display and work normally when right click as following:
image

Actual
"Set Next Statement(.NET)" option disappeared after restarting debugging as following:
image

Investigation
When stop debugging, and start debugging again, "Set Next Statement(.NET)" displayed and worked normally.

@qian6
Copy link

qian6 commented Jan 8, 2019

This issue can also reproduce on windows/Linux platform.

@gregg-miskelly gregg-miskelly self-assigned this Jan 8, 2019
@gregg-miskelly gregg-miskelly added this to the 1.18 milestone Jan 8, 2019
@gregg-miskelly gregg-miskelly changed the title [C# extension][MAC]"Set Next Statement(.NET)" option disappeared after restarting debugging. "Set Next Statement(.NET)" option disappeared after restarting debugging. Jan 8, 2019
@gregg-miskelly
Copy link
Contributor

This is a problem with VS Code. I opened microsoft/vscode#66226 to track it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants