[#407] New feature for Ruby? — Clemens.Hintze@...
Hi all,
27 messages
1999/07/01
[#413] Re: New feature for Ruby?
— matz@... (Yukihiro Matsumoto)
1999/07/01
Hi Clemens,
[#416] Re: New feature for Ruby?
— Clemens Hintze <c.hintze@...>
1999/07/01
On Thu, 01 Jul 1999, Yukihiro Matsumoto wrote:
[#418] Re: New feature for Ruby?
— gotoken@... (GOTO Kentaro)
1999/07/01
Hi
[#426] Re: New feature for Ruby?
— gotoken@... (GOTO Kentaro)
1999/07/02
Hi,
[#427] Re: New feature for Ruby?
— Clemens Hintze <c.hintze@...>
1999/07/02
On Fri, 02 Jul 1999, you wrote:
[#428] Re: New feature for Ruby?
— gotoken@... (GOTO Kentaro)
1999/07/03
Hi,
[#429] Re: New feature for Ruby?
— Clemens Hintze <c.hintze@...>
1999/07/03
On Sat, 03 Jul 1999, you wrote:
[#430] Re: New feature for Ruby?
— gotoken@... (GOTO Kentaro)
1999/07/05
Hi,
[#431] Re: New feature for Ruby?
— Clemens Hintze <c.hintze@...>
1999/07/07
On Mon, 05 Jul 1999, you wrote:
[#440] Now another totally different ;-) — Clemens Hintze <c.hintze@...>
Hi,
21 messages
1999/07/09
[#441] Re: Now another totally different ;-)
— matz@... (Yukihiro Matsumoto)
1999/07/09
Hi,
[#442] Re: Now another totally different ;-)
— Clemens Hintze <c.hintze@...>
1999/07/09
On Fri, 09 Jul 1999, you wrote:
[#452] Re: Now another totally different ;-)
— gotoken@... (GOTO Kentaro)
1999/07/11
Hi,
[#462] Re: Now another totally different ;-)
— matz@... (Yukihiro Matsumoto)
1999/07/12
Hello, there.
[#464] Re: Now another totally different ;-)
— Clemens Hintze <c.hintze@...>
1999/07/12
On Mon, 12 Jul 1999, you wrote:
[#467] Re: Now another totally different ;-)
— matz@... (Yukihiro Matsumoto)
1999/07/12
Hi,
[#468] Re: Now another totally different ;-)
— gotoken@... (GOTO Kentaro)
1999/07/12
In message "[ruby-talk:00467] Re: Now another totally different ;-)"
[#443] — Michael Hohn <hohn@...>
Hello,
26 messages
1999/07/09
[#444] interactive ruby, debugger
— gotoken@... (GOTO Kentaro)
1999/07/09
Hi Michael,
[#448] Re: interactive ruby, debugger
— "NAKAMURA, Hiroshi" <nakahiro@...>
1999/07/10
Hi,
[#450] Re: interactive ruby, debugger
— Clemens Hintze <c.hintze@...>
1999/07/10
On Sat, 10 Jul 1999, you wrote:
[#490] Some questions concerning GC in Ruby extensions — Clemens Hintze <c.hintze@...>
Hi matz,
6 messages
1999/07/14
[#501] Ruby 1.3.5 — Yukihiro Matsumoto <matz@...>
Ruby 1.3.5 is out, check out:
1 message
1999/07/15
[#506] Re: One question about classes written in C. — matz@... (Yukihiro Matsumoto)
I think Cle made mistake; forwarded.
4 messages
1999/07/19
[#519] CGI.rb — "Michael Neumann" <neumann@...>
Hi...
7 messages
1999/07/24
[#526] Another way for this? And a new proposal! — Clemens Hintze <c.hintze@...>
Hi,
6 messages
1999/07/25
[ruby-talk:00444] interactive ruby, debugger
From:
gotoken@... (GOTO Kentaro)
Date:
1999-07-09 18:20:23 UTC
List:
ruby-talk #444
Hi Michael,
In message "[ruby-talk:00443]"
on 99/07/09, Michael Hohn <hohn@math.utah.edu> writes:
>o What is the "standard" way to use ruby interactively, like a shell?
A ruby program `irb' (interactive ruby) is known.
irb is very easy to setup. I asume you use ruby 1.3.x.
0. get the latest tarball of irb from
ftp://ftp.netlab.co.jp/pub/lang/ruby/contrib/
1. extract archive
2. put the `irb/' directory into $: or your environment $RUBYLIB, which is
/usr/local/lib/ruby/1.3/site_ruby/ in default.
3. make symbolic link of $RUBYLIB/irb/irb.rb in one of your $PATH
4. do `chmod' to be executable $RUBYLIB/irb/irb.rb
5. do `rehash' to tell your login shell about irb is appended
6. now, you can use `irb'
If `readline' extension module works with your interpreter, it powers
irb to be very helpful.
>o Why is the -debug flag special? When writing/running a dynamically
> typed interactive program (like a gui), I *expect* errors, and
> getting a full, traversible stack trace with source file and line
> number information is *critical* (to me, at least).
Well, a user can obtain trace stack by the global variable $@.
> Shouldn't
> the debugger be part of the ruby core?
I think it is partially right. The debugger, indeed, is not part of a
ruby interpreter. So, there exists degug.rb which is a gdb-like
debugger.
% ruby -r debug yourcode.rb
In debug.rb prompt, The following is available command list.
b(reak)
i(nfo)
del(ete)
c(ont)
s(tep)
n(ext)
up
down
fin(ish)
q(uit)
where
l(ist)
p
Please guess the meaning of each of them...
-- gotoken