Issue #6315 has been updated by trans (Thomas Sawyer). I was under the impression that set_trace_func would be deprecated. Last I checked it had a glaring bug in it which I reported. ---------------------------------------- Feature #6315: handler to trace output of each line of code executed https://bugs.ruby-lang.org/issues/6315#change-26024 Author: ankopainting (Anko Painting) Status: Feedback Priority: Normal Assignee: Category: Target version: using a similar mechanism to set_trace_func, I would like a way to get the line number and return value of each line. This would allow me to create a live debugger, much like light table from chris granger and/or bret victor's javascript demo. It could be an extra return value of set_trace_func or we could use a new method. -- http://bugs.ruby-lang.org/