[#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
[#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:00481] Modified debug.rb
From:
Michael Hohn <hohn@...>
Date:
1999-07-13 17:44:46 UTC
List:
ruby-talk #481
Hello again,
over the weekend, I have made a modified version of the debug.rb file
to also handle the "raise" event (from eval.c").
Given the file debug-test.rb:
def foo(n)
n / 4
end
def bar(m)
m*foo(m)
end
foo(10)
bar('a')
bar(122)
I can do, for example:
ruby -r mydebug debug-test.rb
debug-test.rb:1:def foo(n)
(rdb:-) c
undefined method `/' for "a"
from debug-test.rb:2:in `foo'
from debug-test.rb:6:in `bar'
from debug-test.rb:10
debug-test.rb:2: n / 4
(rdb:-) list
1 def foo(n)
--> 2 n / 4
3 end
4
5 def bar(m)
6 m*foo(m)
7 end
8
9 foo(10)
10 bar('a')
11 bar(122)
(rdb:-) where
--> frame 2:debug-test.rb:2:in `foo'
frame 1:debug-test.rb:6:in `bar'
frame 0:debug-test.rb:10
(rdb:-) p n
"a"
(rdb:-) p m
./mydebug.rb:37:in `debug_eval':(eval):1:in `foo': undefined local
variable or m
ethod `m' for #<Object:0x40185ed4>
nil
(rdb:-) d
at level 1
(rdb:-) w
frame 2:debug-test.rb:2:in `foo'
--> frame 1:debug-test.rb:6:in `bar'
frame 0:debug-test.rb:10
(rdb:-) list
5 def bar(m)
--> 6 m*foo(m)
7 end
8
9 foo(10)
10 bar('a')
11 bar(122)
(rdb:-) p m
"a"
(rdb:-) p n
./mydebug.rb:37:in `debug_eval':(eval):1:in `bar': undefined local
variable or m
ethod `n' for #<Object:0x40185ed4>
nil
(rdb:-) d
at level 0
(rdb:-) list
9 foo(10)
--> 10 bar('a')
11 bar(122)
(rdb:-) c
debug-test.rb:2:in `foo': undefined method `/' for "a" (NameError)
from debug-test.rb:6:in `bar'
from debug-test.rb:10