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

python debugger ignores breakpoints?

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

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

評価

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

調査の方向性

リンクされたディスカッションから始め、示されている launch.json、Python 3.11.9、ノートブックセル、および動作する 93 行目を含むブレークポイントを使って報告を再現します。デバッグセルのエントリーポイントとブレークポイントの処理を追跡し、一部のブレークポイントが無視される理由を特定します。原因が切り分けられ、動作が修正されるか、必要な設定が文書化されれば完了です。

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

説明

bug notebook
Discussed in https://github.com/microsoft/vscode-python/discussions/23522

I have made a cell and marked some break points:

image

However, when I click 'debug cell', the debugger just executes the cell, ignoring the break points?

The behavior is erratic. This is a few lines earlier in the same file:

image

Here the breakpoint at l. 93 works, but all else is ignored.

My launch.json looks like this:

{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": false,
"noDebug": false, }
]
}

My python version is 3.11.9.

What am I doing wrong?

主要言語
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 を短くまとめたダイジェスト。