-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when use QThread Debug PyQt app, breakpoint not work,while wing IDE can debug #176
Comments
@xystar2012 Please could you provide some sample code used to replicate this issue. |
Due to over a month of inactivity after asking for more info, I'm closing this issue. If you are able to provide the requested information in the future we will be happy to open this issue again. |
I've come across the same issue. Only relevant package is PyQt5. Here is some code to reproduce the issue. Steps to reproduce:
Actual behaviour: no breakpoint is hit Note: Code has been adapted from https://stackoverflow.com/questions/41526832/pyqt5-qthread-signal-not-working-gui-freeze
|
I don't really understand much about debuggers, but seems like PyCharm had the same problem as per this discussion: https://intellij-support.jetbrains.com/hc/en-us/community/posts/206600785-Breakpoints-in-a-QThread-are-not-caught |
Opened issue microsoft/ptvsd#428 to track the necessary work. |
@ChrisK91 |
@ChrisK91 Please feel free to reopen the issue if it persists, else ping back on this issue and we'll open it up for you. |
From @xystar2012 on September 13, 2017 6:14
Environment data
VS Code version: 1.15.1
Python Extension version:3.5
Python Version:python3.5
OS and version: win7 x64
Actual behavior
make breakpoint in the Qthread run function,I'm not able to place a debug break in the run method.
Expected behavior
stop at the breakpoint in Qthread run method,as the breakpoints mainthread can do
Steps to reproduce:
Logs
Output from
Python
output panelOutput from
Console window
(Help->Developer Tools menu)no output at all
Copied from original issue: DonJayamanne/pythonVSCode#1209
The text was updated successfully, but these errors were encountered: