-
Bug
-
Resolution: Won't Do
-
Not Evaluated
-
None
-
6.0.0
-
None
I am developing a DAP client for qtcreator and faced the problem that after "pause" I don't get the "stopped" event and debugging looks frozen. It happens with PySide6 lib and time.sleep(100) look to "Steps to reproduce".
Environment data
- debugpy version: 1.6.7.post1
- OS and version: Ubuntu 22.04
- Python version (& distribution if applicable, e.g. Anaconda): Python 3.10.6
- Using VS Code or Visual Studio: -
Actual behaviour
- sent the "pause" request
- get the "pause" response successful
- didn't get "stopped" event
It looks like all debugging is stuck because even ctrl + c, doesn't work to stop it.
Log:
qtc.dbg.dapengine: "Content-Length: 59\r\n\r\n{\"arguments\":{},\"command\":\"pause\",\"seq\":5,\"type\":\"request\"}"
qtc.dbg.dapengine: "Content-Length: 86\r\n\r\n{\"seq\": 11, \"type\": \"response\", \"request_seq\": 5, \"success\": true, \"command\": \"pause\"}"
Expected behavior
- sent the "pause" request
- get the "pause" response successful
- get "stopped" event
Steps to reproduce:
python3 -Xfrozen_modules=off -m debugpy --listen 127.0.0.1:5679 --wait-for-client main.py
first example:
import sys from PySide6.QtWidgets import QApplication if __name__ == "__main__": app = QApplication(sys.argv) sys.exit(app.exec())
second example:
import sys import time if __name__ == "__main__": while True: print("here --->") time.sleep(1000)
- mentioned in
-
Page Loading...