microsoft / microsoft/vscode-python-debugger

Debugger "stop" button does not work for python3.14 multiprocessing subprocess

オープン
#876 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@eleanorjboyd がすでに取り組んでいます。

2025年12月1日 から。

主要言語
TypeScript
スター
181
フォーク
126
平均マージ
2日 3時間
マージ済み PR(30日)
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()

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。