From: Kent Sibilev Date: 2006-07-09T03:59:46+09:00 Subject: Re: debugging proposal ------=_Part_1174_32972087.1152385183179 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline My ruby-debug extension is doing precisely that. It keeps track of bindings along the program execution and allows fast stepping. Basically it's a standard debug.rb library with a small native extension which uses new Ruby C API calls rb_add_event_hook/rb_remove_event_hook to keep track of method execution and to check for breakpoints. http://www.datanoise.com/articles/2006/07/07/faster-debugger-for-ruby Kent On 7/8/06, Florian Gross wrote: > > Mauricio Fernandez wrote: > > > I went ahead and simplified the code + made an extension (you can find > it > > attached). > > [Florian, are you reading this?] > > Yup, and I'm wondering if I could use this for implementing fast > stepping support in ruby-breakpoint. > > Anything else I'm missing that this might buy me? It would be nice if I > could get away from the Ruby implementation of Binding.of_caller() soon. > > Thank you! > > -- > http://flgr.0x42.net/ > > > -- Kent --- http://www.datanoise.com ------=_Part_1174_32972087.1152385183179--