You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Python debugger does not halt on exceptions in async coroutines #1309
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Linter 'pylint' is not installed. Please install it or select another linter".
Error: Module 'pylint' not installed.
Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)
~/python/async_exception_debugging$ cd /home/username/python/async_exception_debugging ; env "PYTHONIOENCODING=UTF-8" "PYTHONUNBUFFERED=1" /home/username/python/async_exception_debugging/env/bin/python /home/username/.vscode/extensions/ms-python.python-2018.3.1/pythonFiles/PythonTools/visualstudio_py_launcher.py /home/username/python/async_exception_debugging 40845 34806ad9-833a-4524-8cd6-18ca4aa74f14 RedirectOutput,RedirectOutput /home/username/python/async_exception_debugging/app.py
Hello world.
Traceback (most recent call last):
File "/home/username/python/async_exception_debugging/app.py", line 16, in <module>
loop.run_until_complete(main())
File "/usr/lib/python3.6/asyncio/base_events.py", line 467, in run_until_complete
return future.result()
File "/home/username/python/async_exception_debugging/app.py", line 10, in main
error()
File "/home/username/python/async_exception_debugging/app.py", line 4, in error
raise Exception('Something bad happened')
Exception: Something bad happened
Activity
andersea commentedon Apr 5, 2018
It seems to work correctly in the experimental debugger.
DonJayamanne commentedon Apr 6, 2018
Anders E. Andersen (@andersea)
Thank you very much for getting back on this.
I'm closing this issue as this works with the experimental debugger (soon to be made the default debugger).