# Tool for Program Visualization?

**URL:** <https://www.ruby-forum.com/t/tool-for-program-visualization/78273>\
**Category:** Ruby\
**Created:** [December 4, 2006, 7:26pm UTC](https://www.ruby-forum.com/t/tool-for-program-visualization/78273 "2006-12-04T19:26:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gilbert\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c68b51/32.png) [@Gilbert\_R](https://www.ruby-forum.com/u/Gilbert_R)\
**Post date:** [December 4, 2006, 7:26pm UTC](https://www.ruby-forum.com/t/tool-for-program-visualization/78273/1 "2006-12-04T19:26:12Z")

</div>

Hi,

coming to Ruby from Java i’m lookin for a tool  
similar to =

[http://cs.joensuu.fi/jeliot/index.php](http://cs.joensuu.fi/jeliot/index.php)

which is for java only.

Any tools available ?  
Thanks for any hints!!

Regards, Gilbert

---

<div class="post-metadata">

**Author:** ![Gilbert\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c68b51/32.png) [@Gilbert\_R](https://www.ruby-forum.com/u/Gilbert_R)\
**Post date:** [December 4, 2006, 7:52pm UTC](https://www.ruby-forum.com/t/tool-for-program-visualization/78273/2 "2006-12-04T19:52:21Z")

</div>

> Thanks for any hints!!
> 
> Regards, Gilbert

I’m afraid I don’t know of anything like that, but others may.

Looking at the tool, do you actually find that at all useful? 🙂 It’s  
kind of fun, but does it help you to see what’s going on? I wonder if  
you’d be better off with a normal graphical debugger (Komodo, for Ruby,  
say.). They usually give much the same kind of information about the  
virtual machine’s states, but don’t act out an animated story of how  
those changes occur.

---

<div class="post-metadata">

**Author:** ![Gilbert\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c68b51/32.png) [@Gilbert\_R](https://www.ruby-forum.com/u/Gilbert_R)\
**Post date:** [December 4, 2006, 8:16pm UTC](https://www.ruby-forum.com/t/tool-for-program-visualization/78273/3 "2006-12-04T20:16:36Z")

</div>

removed\_email\_address@domain.invalid wrote:

> Looking at the tool, do you actually find that at all useful? 🙂 It’s  
> kind of fun, but does it help you to see what’s going on?

it’s helpful to see what’s going on. also great for  
a quick test of algorithms, it’s like an algorithm theatre 😉

> I wonder if  
> you’d be better off with a normal graphical debugger (Komodo, for Ruby,  
> say.)

Komodo ain’t free. I’m looking for a free tool.  
Are there free graphical debuggers around for ruby ?!

> They usually give much the same kind of information about the  
> virtual machine’s states, but don’t act out an animated story of how  
> those changes occur.

working with eclipse, i know the benefits of a debugger,  
but the RDT plugins are not the same level as the JDT yet.

Regards, Gilbert

---

<div class="post-metadata">

**Author:** ![Gilbert\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c68b51/32.png) [@Gilbert\_R](https://www.ruby-forum.com/u/Gilbert_R)\
**Post date:** [December 5, 2006, 12:05am UTC](https://www.ruby-forum.com/t/tool-for-program-visualization/78273/4 "2006-12-05T00:05:35Z")

</div>

In message [el1oso$4ue$removed\_email\_address@domain.invalid](mailto:el1oso$4ue$removed_email_address@domain.invalid), Gilbert R.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) writes

> coming to Ruby from Java i’m lookin for a tool  
> similar to =
> 
> [http://cs.joensuu.fi/jeliot/index.php](http://cs.joensuu.fi/jeliot/index.php)

Er, not the same. But if a flow tracer will do (shows all calls,  
returns, lines, exceptions etc, plus all locals and all params) then  
take a look at Ruby Bug Validator.

```
    http://www.softwareverify.com/ruby/flow_tracer/index.html

```

Stephen

---

<div class="post-metadata">

**Author:** ![Gilbert\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c68b51/32.png) [@Gilbert\_R](https://www.ruby-forum.com/u/Gilbert_R)\
**Post date:** [December 5, 2006, 5:34am UTC](https://www.ruby-forum.com/t/tool-for-program-visualization/78273/5 "2006-12-05T05:34:10Z")

</div>

On Tue, 05 Dec 2006 03:25:06 +0900, Gilbert R.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> coming to Ruby from Java i’m lookin for a tool  
> similar to =
> 
> [http://cs.joensuu.fi/jeliot/index.php](http://cs.joensuu.fi/jeliot/index.php)
> 
> which is for java only.
> 
> Any tools available ?

That looks pretty cool. Although, it is text based you can use the  
ruby tracer tool. Simply run

“ruby -r tracer yourcode.rb”

to see the textual output of what Ruby is doing. If I were to attempt  
making Jeliot for Ruby I would probably use this as a base.

Cheers,  
Zev

---

<div class="post-metadata">

**Author:** ![Gilbert\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c68b51/32.png) [@Gilbert\_R](https://www.ruby-forum.com/u/Gilbert_R)\
**Post date:** [December 5, 2006, 7:56pm UTC](https://www.ruby-forum.com/t/tool-for-program-visualization/78273/6 "2006-12-05T19:56:23Z")

</div>

Hi,

Stephen K. wrote:

> > coming to Ruby from Java i’m lookin for a tool  
> > similar to =
> > 
> > [http://cs.joensuu.fi/jeliot/index.php](http://cs.joensuu.fi/jeliot/index.php)
> 
> Er, not the same. But if a flow tracer will do (shows all calls,  
> returns, lines, exceptions etc, plus all locals and all params) then  
> take a look at Ruby Bug Validator.
> 
> ```
> http://www.softwareverify.com/ruby/flow_tracer/index.html
> 
> ```

Thanks for the tip, but i prefer a free tool,  
Open Source if possible.  
I have no 299 bucks around 😉

Regards, Gilbert

---

<div class="post-metadata">

**Author:** ![Gilbert\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c68b51/32.png) [@Gilbert\_R](https://www.ruby-forum.com/u/Gilbert_R)\
**Post date:** [December 5, 2006, 7:50pm UTC](https://www.ruby-forum.com/t/tool-for-program-visualization/78273/7 "2006-12-05T19:50:22Z")

</div>

Hi,

Zev B. wrote:

> > [http://cs.joensuu.fi/jeliot/index.php](http://cs.joensuu.fi/jeliot/index.php)
> > 
> > which is for java only.

> That looks pretty cool. Although, it is text based you can use the  
> ruby tracer tool. Simply run
> 
> “ruby -r tracer yourcode.rb”
> 
> to see the textual output of what Ruby is doing. If I were to attempt  
> making Jeliot for Ruby I would probably use this as a base.

ok, thanks didn’t know of that.  
i’ll give it a try.

Regards, Gilbert
