https://github.com/ruby-rbot/rbot/blob/6070ef61a1745c969a063c31f407248ad73edb9a/bin/rbot#L72 https://docs.ruby-lang.org/en/master/Kernel.html#method-i-set_trace_func says: > Note: this method is obsolete, please use [TracePoint](https://docs.ruby-lang.org/en/master/TracePoint.html) instead.