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 }}
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.
Python version (& distribution if applicable, e.g. Anaconda): Flask 0.12.2 with Python 3.6.8
Using VS Code or Visual Studio: VS Code (1.36.0)
Actual behavior
in notify_thread_not_alive: was_notified = thread.additional_info.pydev_notify_kill 'NoneType' object has no attribute 'pydev_notify_kill'
Expected behavior
Should continue
Steps to reproduce:
Using multiprocessing.managers class BaseManager
Tried these:
import ptvsd ptvsd.debug_this_thread()
2. ptvsd.enable_attach(address=('127.0.0.1', 7777), redirect_output=True) ptvsd.wait_for_attach()
Sorry if this is a dumb report
The text was updated successfully, but these errors were encountered:
Inspecting the code I think this could be caused by a race condition. The pull request above should fix it (although as a note, I haven't been able to reproduce locally).
@lorieaiah, if you're using multiprocessing specifically, then you currently need to do set_start_method("spawn") - otherwise ptvsd cannot debug it on non-Windows platforms. See the comments in #1162 for a more detailed explanation and code snippets.
Environment data
Actual behavior
in
notify_thread_not_alive
:was_notified = thread.additional_info.pydev_notify_kill
'NoneType' object has no attribute 'pydev_notify_kill'
Expected behavior
Should continue
Steps to reproduce:
multiprocessing.managers
class BaseManagerTried these:
import ptvsd ptvsd.debug_this_thread()
2.
ptvsd.enable_attach(address=('127.0.0.1', 7777), redirect_output=True) ptvsd.wait_for_attach()
Sorry if this is a dumb report
The text was updated successfully, but these errors were encountered: