From: Steve Hart Date: 2011-12-04T10:06:19+09:00 Subject: Re: embedded ruby event hooks Ryan Davis wrote in post #1034666: > On Dec 1, 2011, at 18:55 , Steve Hart wrote: > >> that this is marked in insns.def as 'TODO' (insns.def line 875 - >> EXEC_EVENT_HOOK(th, flag, GET_SELF(), 0, 0 /* TODO: id, klass */); >> I'm not sure yet what insns.def is or how it works - but without the >> method id our code dies. > > Chase the code down to the handler and you'll see that they look up the > class and id whenever it is 0. Thanks Ryan Bit of hunting revealed rb_frame_method_id_and_class Now - to fix the rb_gc crash.... Cheers Steve -- Posted via http://www.ruby-forum.com/.