Ruby intepreter LIne no tracking

Hi ,

I am rite now creating an IDE that executes and gets results from ruby
process. That contains all of the features of normal IDE.

I am struck to make MY ide to look for the currently executing line
in ruby intepretter. My task here is to show the currently executing
line of ruby in my IDE.

Please help me out…

On Thu, Mar 27, 2008 at 8:44 AM, suresh [email protected] wrote:

Hi ,

I am rite now creating an IDE that executes and gets results from ruby
process. That contains all of the features of normal IDE.

I am struck to make MY ide to look for the currently executing line
in ruby intepretter. My task here is to show the currently executing
line of ruby in my IDE.

use set_trace_func

On Thu, Mar 27, 2008 at 2:10 PM, suresh [email protected] wrote:

line of ruby in my IDE.
so i dont want anything that related to the ruby code that means
executing something.

i want the solution general so that i can get the things to my vb .net
appl.

There is a C side equivalent of set_trace_func, see rcov, ruby-prof or
RubyMemoryValidator.
So you set a callback in a ruby extension, and then you have to
forward the info to your IDE.

J.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs