Closed
Description
"assert False" hangs with "Breakpoints" on for "All Exceptions" - see snapshot:
Environment data
- VS Code version: 1.21.1
- Extension version (available under the Extensions sidebar): Python, macros
- OS and version: Microsoft Windows [Version 10.0.16299.309]
- Python version (& distribution if applicable, e.g. Anaconda): Python 3.6.4
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): None that I know of, but I am new to Python. Help me find out :)
- Relevant/affected Python packages and their versions: none, I think
Actual behavior
Debugging never finishes
Expected behavior
Traceback (most recent call last):
File "c:\Temp\AssertFalse.py", line 1, in <module>
assert(False)
AssertionError
Steps to reproduce:
- Activate "Breakpoints: All Exceptions"
- Debug Code including assert (False)
Logs
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
(nothing)
Output from Console
under the Developer Tools
panel (toggle Developer Tools on under Help
)
(nothing)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment