Closed
Description
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:
- Create a pytest file with a simple test.
- Drop a breakpoint somewhere in the test.
- Debug the test.
- When it reaches the breakpoint, hit continue.
- Uncaught exception triggers breakpoint.
Logs
Metadata
Metadata
Assignees
Labels
No labels