microsoft / microsoft/vscode-python-debugger
Debugger "stop" button does not work for python3.14 multiprocessing subprocess
未关闭
@eleanorjboyd 已经在做这个了。
开始于 2025年12月1日。
- 主要语言
- TypeScript
- 星标
- 181
- 派生
- 126
- 平均合并
- 2 天 3 小时
- 30 天内合并 PR
- 3
描述
vscode version:
Version: 1.106.2
Commit: 1e3c50d64110be466c0b4a45222e81d2c9352888
Date: 2025-11-19T16:56:50.023Z
Electron: 37.7.0
ElectronBuildId: 12781156
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.1.0
pyhton-debugger version:
Name: Python Debugger
Id: ms-python.debugpy
Description: Python Debugger extension using debugpy.
Version: 2025.16.0
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-python.debugpy
reproduct
code
import multiprocessing, time
from concurrent.futures import ProcessPoolExecutor
def task():
time.sleep(1) # add a break point hear, and click the stop button when debuging, subprocess still continued, and print 1.
print('1')
return 1
def test1():
with ProcessPoolExecutor(1) as pool:
r = pool.submit(
task,
)
print('done') # # add a break point hear, and click the stop button when debuging, main process stoped.
if __name__ == '__main__':
test1()
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。