Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Debugger fails on tests exit. #5099

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

Closed
CMLL opened this issue Apr 3, 2019 · 1 comment
Closed

Debugger fails on tests exit. #5099

CMLL opened this issue Apr 3, 2019 · 1 comment

Comments

@CMLL
Copy link

CMLL commented Apr 3, 2019

Environment data

  • VS Code version: 1.32.3
  • Extension version (available under the Extensions sidebar): 2019.3.6352
  • OS and version: Ubuntu 18.04
  • Python version (& distribution if applicable, e.g. Anaconda): 2.7.15
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): pyenv virtualenv
  • Relevant/affected Python packages and their versions: pytest

Expected behaviour

When I set a test case debugger and ran the test, the execution stops as expected in the breakpoint, but after hitting continue an UncaughtException breakpoint is raised in the testlauncher.py file.

Removing the UncaughtExceptions option from the debugger works as expected and this is not raised but is something usefult to have enabled.

I'm using pytest as testing framework.

Steps to reproduce:

  1. Create a pytest file with a simple test.
  2. Drop a breakpoint somewhere in the test.
  3. Debug the test.
  4. When it reaches the breakpoint, hit continue.
  5. Uncaught exception triggers breakpoint.

Logs

image

@ghost ghost added the triage-needed Needs assignment to the proper sub-team label Apr 3, 2019
@DonJayamanne
Copy link

Duplicate of #3201

@DonJayamanne DonJayamanne marked this as a duplicate of #3201 Apr 3, 2019
@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Apr 3, 2019
@lock lock bot locked as resolved and limited conversation to collaborators May 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants