Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
「byebug」の「ステップ」と「次」の違いは何ですか。いつ一方を他方よりも使用する必要がありますか?
step: 次の行またはメソッドに実行をステップ実行します。オプションの数値引数を使用して、複数回ステップします。
next: 同じフレーム内の次の行に進みます。また、オプションの数値引数を使用して、複数の行をステップ実行します。
pry-byebug詳細については、gem のドキュメントを参照してください。
pry-byebug
https://github.com/deivid-rodriguez/pry-byebug#commands