method

set_trace_func

v2_5_5 - Show latest stable - Class: Thread
set_trace_func(p1)
public

Establishes proc on thr as the handler for tracing, or disables tracing if the parameter is nil.

See Kernel#set_trace_func.