python debugger ignores breakpoints?
まだ誰も着手していません。
評価
調査の方向性
リンクされたディスカッションから始め、示されている launch.json、Python 3.11.9、ノートブックセル、および動作する 93 行目を含むブレークポイントを使って報告を再現します。デバッグセルのエントリーポイントとブレークポイントの処理を追跡し、一部のブレークポイントが無視される理由を特定します。原因が切り分けられ、動作が修正されるか、必要な設定が文書化されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Discussed in https://github.com/microsoft/vscode-python/discussions/23522
I have made a cell and marked some break points:
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:
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/debugpy のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
microsoft/debugpy の issue をすべて見る
似ている issue
-
area: harness bug status: needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Human-Agent-Society/reef#625 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
learningequality/kolibri#15351 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Name consistency オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
eellak/triplestore#65 · コメント 1 件 ·