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.
We already tried some approaches and still haven't been able to come up with a good solution to do that in the general case, so, for now, you're required to manually ask for non-python started threads to be traced.
Thanks @fabioz. I've added this call into my pyx file and that is solving the problem in VS Code.
I actually need to make it work in PyCharm as well, using this snippet seems to cover all bases as both PyCharm and VS Code are using pydev under the hood:
try:
importpydevdpydevd.settrace(suspend=False)
except:
# ignore if debugger is not availablepass
I have first open this bug in microsoft/vscode-python#14098 - but maybe here it's more appropriate.
Environment data
python.languageServer
setting: JediExpected behaviour
The debugger will break on the breakpoint set in VS Code.
Actual behaviour
The debugger does not break on the breakpoint set.
Steps to reproduce:
create-venv.sh
once to create venvbuild_thrd.sh
to build Cyton extensiontest_threading.py
in VS Codeprint
statement inhandler
functionThe text was updated successfully, but these errors were encountered: