A
Axel
Hello,
when using ruby-debug ( _not_ the standard debugger coming with Ruby),
I cannot get the @-sign typed. Is there a way to get it typed?
I'm using:
- a German keyboard
- Windows XP pro
- ruby-debug 0.9.3 (running it from cmd)
- ruby 1.8.4 (2005-12-24) [i386-mswin32]
When switching Windows to US-keyboard, @-sign works, but I have big
difficulties getting for exampel those brackets [ ] . (Additionaly, I
would be very slow in typing on it...)
Another thing, how does:
v[ar] i[nstance] <object>
work? - When using the exampel of Brian Donovan, slightly modified:
class My
def fib(n)
@fib_cache ||= [1, 1]
@fib_cache[n] ||= fib(n-1) + fib(n-2)
end
end
my = My.new
puts my.fib(20)
and set a breakpoint, continue and enter "v i My", I do not get
anything. .
Thank you!
Axel
when using ruby-debug ( _not_ the standard debugger coming with Ruby),
I cannot get the @-sign typed. Is there a way to get it typed?
I'm using:
- a German keyboard
- Windows XP pro
- ruby-debug 0.9.3 (running it from cmd)
- ruby 1.8.4 (2005-12-24) [i386-mswin32]
When switching Windows to US-keyboard, @-sign works, but I have big
difficulties getting for exampel those brackets [ ] . (Additionaly, I
would be very slow in typing on it...)
Another thing, how does:
v[ar] i[nstance] <object>
work? - When using the exampel of Brian Donovan, slightly modified:
class My
def fib(n)
@fib_cache ||= [1, 1]
@fib_cache[n] ||= fib(n-1) + fib(n-2)
end
end
my = My.new
puts my.fib(20)
and set a breakpoint, continue and enter "v i My", I do not get
anything. .
Thank you!
Axel