Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

OpenCover closes and no results are captured when Ctrl+C is used to close the target process #1027

Closed
9 of 31 tasks
sawilde opened this issue May 24, 2021 · 0 comments
Closed
9 of 31 tasks
Labels

Comments

@sawilde
Copy link
Member

sawilde commented May 24, 2021

Please provide the following information when submitting an issue.

Where appropriate replace the [] with a [X]

NOTE Support requests should initially be raised on GitHub discussions

My Framework

  • .NET 2
  • .NET 3.5
  • .NET 4
  • .NET 4.5
  • .NET 4.6
  • .NET 4.6.1
  • .NET 4.6.2
  • .NET 4.7
  • .NET 4.7.1
  • .NET 4.7.2
  • .NET 4.8
  • .NET Core 2.2.0
  • .NET Core 3.1.0
  • .NET 5
  • only release and LTS versions of .NET runtimes and SDKs will be supported

My Environment

  • Windows 7 or below (not truly supported due to EOL)
  • Windows 8
  • Windows 8.1
  • Windows 10
  • Windows 10 IoT Core
  • Windows Server 2012
  • Windows Server 2012 R2
  • Windows Server 2016
  • Windows Server 2019

I have already...

  • repeated the problem using the latest stable release of OpenCover.
  • reviewed the usage guide and usage document.
  • have looked at the opencover output xml file in an attempt to resolve the issue.
  • reviewed the current issues to check that the issue isn't already known.

My issue is related to (check only those which apply):

  • no coverage being recorded
  • 32 or 64 bit support

Describe the bug

OpenCover closes and no results are captured when Ctrl+C is used to close the target process

Steps to reproduce the problem:

  • reviewed the usage guide and usage document again because we know you probably didn't do it the first time.
  • sample code or link to repository/gist is available (support is much, much faster this way)

see #1023

sawilde added a commit to sawilde/opencover that referenced this issue May 24, 2021
sawilde added a commit that referenced this issue May 25, 2021
#1027 option to instruct the host to ignore ctrl+c key presses
@sawilde sawilde added the bug label May 25, 2021
@sawilde sawilde closed this as completed May 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant