From: "Bartosz DziewoƄski" Date: 2012-07-03T20:23:01+09:00 Subject: Re: Using binding + set_trace_func to capture execution state Have you tried somehow using continuations? http://www.ruby-doc.org/core-1.9.3/Continuation.html -- Matma Rex