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: The 'debug test' is not disabled in debugging #1421

Open
GraceDong opened this issue Apr 24, 2017 · 1 comment
Open

Debugger: The 'debug test' is not disabled in debugging #1421

GraceDong opened this issue Apr 24, 2017 · 1 comment

Comments

@GraceDong
Copy link

Environment data

dotnet --info output:
Product Information:
Version: 1.0.1
Commit SHA-1 hash: 005db40cd1
Runtime Environment:
OS Name: Ubuntu
OS Version: 16.10
OS Platform: Linux
RID: Ubuntu.16.10-x64
Base Path: /usr/share/dotnet/sdk/1.0.1

VS Code version: v1.11.2
C# Extension version: v.1.9.0

Steps to reproduce

  1. Open attached folder with VSCode;
    test_xunit.zip
  2. Set a breakpoint at the line of 11 in UnitTest1.cs;
  3. Debug test and wait for break mode;

Expected behavior

The debug test should be disabled.

Actual behavior

The debug test is not disabled. And when I click debug test again, pop an error message as following:
image

Investigation

  1. In VS, Run Tests, Debug Tests and Restart was be disabled if the project is being debugged.
  2. In VSCode, click Run Tests after step Allow terminal configuration on Linux (currently hard-coded to gnome-terminal). #3, .NET Test Log as following:
    image
  3. In VSCode, click Restart after step Allow terminal configuration on Linux (currently hard-coded to gnome-terminal). #3, the project run to end. Could you please help me to confirm if it is expected? OmniSharp Log as following:
    image
  4. If debug test can not be disabled, can you improve the prompt? E.g: Failed to start debugger: Is being used by another process.
@DustinCampbell
Copy link
Member

I have a change to fix this, but it's fairly large. I'm going to hold this fix until 1.11.

@DustinCampbell DustinCampbell modified the milestones: 1.11, 1.10 May 25, 2017
@DustinCampbell DustinCampbell modified the milestones: 1.11, 1.12 Jun 27, 2017
@DustinCampbell DustinCampbell modified the milestones: 1.12, 1.13 Aug 9, 2017
@DustinCampbell DustinCampbell removed their assignment Oct 12, 2017
@DustinCampbell DustinCampbell modified the milestones: 1.13, 1.14 Nov 6, 2017
@rchande rchande modified the milestones: 1.14, 1.15 Feb 14, 2018
@DustinCampbell DustinCampbell modified the milestones: 1.15, 1.16 May 10, 2018
@rchande rchande modified the milestones: 1.16, 1.17 Sep 18, 2018
@rchande rchande modified the milestones: 1.17, 1.18 Jan 2, 2019
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

5 participants