Thanks! Somehow I did not spot this...
I'll give it another go then.
Cheers,
Max
···
-----Original Message-----
From: Mauricio Julio Fernández Pradier [mailto:ferferse@telefonica.net] On Behalf Of Mauricio Fernandez
Sent: Thursday, 6 July 2006 5:08 PM
To: ruby-talk ML
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 <node.h>.
--
Mauricio Fernandez - http://eigenclass.org - singular Ruby