rayreeves
6/23/2006 3:55:00 PM
"Tim Hoolihan" <tim@hoolihan.net> wrote in message
news:V6Smg.82841$P2.9720@tornado.ohiordc.rr.com...
> Try this:
>
> (irb:1)break fact.rb:1
> (irb:1)c
>
E:\Ruby\work>irb
irb(main):001:0> break fact.rb:1
SyntaxError: compile error
(irb):1: parse error, unexpected tINTEGER, expecting tSTRING_CONTENT or
tSTRING_
DBEG or tSTRING_DVAR or tSTRING_END
from (irb):1
> If you've been running this in windows, I think ruby includes a file in
> order to work smoothly with the windows command line. Your breakpoint
> were getting set in that code, not your code.
>
Well, that's no use!
Notice that Senthilnaya's code didn't work either
Could it be that Ruby debug simply doesn't work under XP?
Ray Reeves