Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

The dead thread won't disappear in call stack monitor

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

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
devtools

調査の方向性

まず、issue にある最小限の Python 再現コードを、説明されている VS Code の launch.json 構成および gevent と組み合わせて Windows 上で実行します。コールスタックモニターが終了したスレッドをどのように処理するかを調べ、スタックモニターのサイズを変更しなくてもデッドスレッドが直ちに消えることを確認します。

索引モデルが issue の本文から書いたものです。

説明

bug

Environment data

  • debugpy version: 1.8.1, install from PyPI
  • OS and version: Windows 10.0.19045.4291
  • Python version cPython 3.9.13 downloaded from python.org
  • Using VS Code or Visual Studio: VS code

Actual behavior

here is the minest reproduce code:

import gevent
import gevent.monkey; gevent.monkey.patch_all()
import subprocess
import threading

cmd = 'ver'
info = subprocess.check_output(cmd,
                                stdin=subprocess.DEVNULL,
                                stderr=subprocess.DEVNULL,
                                text=True,
                                shell=True)
print(f'{cmd} => {info}')

https://github.com/microsoft/debugpy/assets/30763045/2fdeeaba-f8f7-4895-a3bd-2ece76c4014d

the dead thread won't disappear immediately util the stack monitor ajust size.

Expected behavior

the dead thread should disappear immediately.

Steps to reproduce:

  1. paster the code to file
  2. take the breakpoint
  3. create a python debug config, add gevent needed env to launce.json, then launch.

W86KA0TY5R$ 20`MHR%CH$9

主要言語
Python
スター
2.5k
フォーク
202
平均マージ
5日 1時間
マージ済み PR(30日)
1

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

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

はじめの一歩

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

microsoft/debugpy のほかの issue

microsoft/debugpy の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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