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.
Ruby の set_trace_fun で例外を検出することはできますか?
また、TracePoint を使用せずに set_trace_fun から戻り値を取得する方法はありますか?
私はちょうどこれと同じことを考えていました.特に戻り値(私が求めている値が欠落している場合、実際には例外が発生する可能性があります)をaProcまたは何かに保存できるかどうか...
Proc