Graphical Debugger

Hello Group,

I know that freeride has a graphical ruby debugger. I really like debuggers with a gui (coming from delphi) but I also really love editing my code with xemacs. Is there something like a stand alone graphical debugger, or some devious mode to make my xemacs a ruby debugging gui?

Thanks,

Brian

···

--
Brian Schröder
http://www.brian-schroeder.de/

You will like eclipse with the ruby plugin

···

On Thu, 11 Nov 2004 04:08:50 +0900, Brian Schröder <ruby@brian-schroeder.de> wrote:

Hello Group,

I know that freeride has a graphical ruby debugger. I really like debuggers with a gui (coming from delphi) but I also really love editing my code with xemacs. Is there something like a stand alone graphical debugger, or some devious mode to make my xemacs a ruby debugging gui?

Thanks,

Brian

--
Brian Schröder
http://www.brian-schroeder.de/

--
Tobi
http://blog.leetsoft.com

Hello Brian

Brian Schröder <ruby@brian-schroeder.de> writes:

I know that freeride has a graphical ruby debugger. I really like
debuggers with a gui (coming from delphi)

At one time I worked on getting Ruby support into DDD, but it was too
complex a task for me. If you like C++ and have some time, it would be
a worthwhile addition.

but I also really love editing my code with xemacs. Is there
something like a stand alone graphical debugger, or some devious
mode to make my xemacs a ruby debugging gui?

The 'misc' directory under the Ruby source tree contains
rubydb3x.el. Load that and run M-x rubydb. When it asks you how to run
the Ruby debugger, answer 'ruby -rdebug FILENAME'. That should be all
you need to get single-stepping, breakpoints, etc. under Emacs.

(Note -- I haven't done this under Xemacs, only GNU Emacs. So YMMV.)

Dan

···

--
Dan Debertin Unix Systems Admin/Programmer
Diehl Hall #203B University of Minnesota
(612)626-6468 Bio-Medical Library
debertin@umn.edu

Brian Schröder wrote:

I know that freeride has a graphical ruby debugger. I really like
debuggers with a gui (coming from delphi) but I also really love
editing my code with xemacs. Is there something like a stand alone
graphical debugger, or some devious mode to make my xemacs a ruby
debugging gui?

Do you really need it to be graphical? I have written a simple debugging tool that uses method calls for spawning irb sessions and contributed it to the dev-utils project. It might be an alternative.

Hello Tobias,

You will like eclipse with the ruby plugin

He will also like Arachno Ruby.

···

--
Best regards, emailto: scholz at scriptolutions dot com
Lothar Scholz http://www.ruby-ide.com
CTO Scriptolutions Ruby, PHP, Python IDE 's

Thank you Dan,

it works like a charm. Weird that I did not encounter it. I repeatedly searched the wikis and google for anything ruby with emacs related and never saw the debugger inclusion.

Regards,

Brian

···

On Thu, 11 Nov 2004 06:38:33 +0900 Dan Debertin <debertin@umn.edu> wrote:

Hello Brian

Brian Schröder <ruby@brian-schroeder.de> writes:

>
> I know that freeride has a graphical ruby debugger. I really like
> debuggers with a gui (coming from delphi)

At one time I worked on getting Ruby support into DDD, but it was too
complex a task for me. If you like C++ and have some time, it would be
a worthwhile addition.

> but I also really love editing my code with xemacs. Is there
> something like a stand alone graphical debugger, or some devious
> mode to make my xemacs a ruby debugging gui?

The 'misc' directory under the Ruby source tree contains
rubydb3x.el. Load that and run M-x rubydb. When it asks you how to run
the Ruby debugger, answer 'ruby -rdebug FILENAME'. That should be all
you need to get single-stepping, breakpoints, etc. under Emacs.

(Note -- I haven't done this under Xemacs, only GNU Emacs. So YMMV.)

Dan
--
Dan Debertin Unix Systems Admin/Programmer
Diehl Hall #203B University of Minnesota
(612)626-6468 Bio-Medical Library
debertin@umn.edu

--
Brian Schröder
http://www.brian-schroeder.de/

Thanks for the comment. I like the rubydb.el idea. But I've got no time doing ruby right now, so I hope to play around with both solutions later.

Regards,

Brian

···

On Thu, 11 Nov 2004 07:18:29 +0900 Florian Gross <flgr@ccan.de> wrote:

Brian Schröder wrote:

> I know that freeride has a graphical ruby debugger. I really like
> debuggers with a gui (coming from delphi) but I also really love
> editing my code with xemacs. Is there something like a stand alone
> graphical debugger, or some devious mode to make my xemacs a ruby
> debugging gui?

Do you really need it to be graphical? I have written a simple debugging
tool that uses method calls for spawning irb sessions and contributed it
to the dev-utils project. It might be an alternative.

--
Brian Schröder
http://www.brian-schroeder.de/

Hello Tobias and Lothar,

Thanks for the suggestions.

I just tried to use eclipse, but it is too much things for me, I don't need an editor, and I can manage my files quite well, I only wanted to visually step through ruby source code, inspect variables and set breakpoints. Maybe something more like ddd, allowing me to use specific tools for specific purposes. (Even so I have to admit that xemacs does not quite count as a specific tool :wink:

To Arachno Ruby applies the same, and I do not plan on buying a full featured IDE if I only need a debugger. (Even though it looks nice).

Regards,

Brian

···

On Thu, 11 Nov 2004 04:58:05 +0900 Lothar Scholz <mailinglists@scriptolutions.com> wrote:

Hello Tobias,

> You will like eclipse with the ruby plugin

He will also like Arachno Ruby.

--
Best regards, emailto: scholz at scriptolutions dot com
Lothar Scholz http://www.ruby-ide.com
CTO Scriptolutions Ruby, PHP, Python IDE 's

--
Brian Schröder
http://www.brian-schroeder.de/