Allow multiple levels of breakpoint command with options
まだ誰も着手していません。
評価
調査の方向性
Start with the debugger command handling for the do: and pre: options, using the nested debugger(do:) examples in the issue as the initial cases to understand. The work is done when multiple nested command levels and the shown hash-style command script are supported without requiring manual execution between actions.
索引モデルが issue の本文から書いたものです。
説明
Your proposal
Allow nesting commands like this:
debugger(do: "break Foo#initialize do: (watch @ivar do: pp self)")
Or even:
debugger(do: {
"break Foo#initialize" => {
do: { "watch @ivar" => { do: "pp self" } }
},
"catch MyError" => { do: "bt 20" }
})
This will allow users to write a simple script, place it at one place (e.g. a Rails controller), and execute the entire debugging process without any automatically.
Right now it's not possible because the debugger assumes do: or pre: options only have 1 level of action.
- 主要言語
- Ruby
- スター
- 1.3k
- フォーク
- 146
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ruby/debug のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
-
Support exceptionOptions in setExceptionBreakpoints to catch arbitrary exception classes via DAP オープン
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
TheOdinProject/curriculum#31408 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
notch8/utk_knapsack#148 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
Homebrew/homebrew-cask#288729 · コメント 1 件 ·
-
Documentation issues オープン
難易度 2/5 1〜2日 初心者へのやさしさ 72/100
-
feature
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
betagouv/acces-cible#722 ·