binding.b doesn't stop code on second controller request and above
まだ誰も着手していません。
評価
調査の方向性
Start by reproducing the issue in a Rails controller's #create action with binding.break, using the Ruby 3.3.0, Rails 7.1.2, and debug 1.9.1 versions reported. Trace the debugger's request lifecycle and verify that the breakpoint stops execution on the first and every subsequent request without restarting the server.
索引モデルが issue の本文から書いたものです。
説明
Your environment
Ruby 3.3.0
Rails 7.1.2
debug 1.9.1
Hi, I am not sure if this is a bug or I am missing anything. I have try to search around but to no avail.
Issue
I have a Rails app with a controller, I try to put binding.break in the #create action. The code stops for the very first request. However, for second request onward, the code just doesn't stop and I have to restart the server for it to stop again.
def create
binding.break
# some actions
end
- First request, the code stop at the break point
- Second request, the code doesn't stop
- 主要言語
- 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時間 初心者へのやさしさ 75/100
palladius/rails8-app-on-gcp#145 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
rubocop/rubocop-rspec#2236 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
riscv/riscv-unified-db#2624 · リアクション 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100