From: Mauricio Fernandez Date: 2006-07-06T16:07:39+09:00 Subject: Re: debugging proposal On Thu, Jul 06, 2006 at 09:50:22AM +0900, Max Muermann wrote: > Ideally, I would like to stick all this stuff in maybe a singleton > Debugger class. I am however unsure on how to do this and would really > like some help with that. The breakpoint_func is implemented using an > event_hook, like trace_func, which requires me to implement it inside > eval.c, as this functionality is (sensibly) not exposed. Unfortunately, > this prevents me from implementing the debug support in a regular > extension. It is exposed (ruby-prof uses it, and I'm using it too in rcov). Just #include . -- Mauricio Fernandez - http://eigenclass.org - singular Ruby