More advice from Alex:
alexey verkhovsky: typing
alexey verkhovsky: require 'breakpoint'; breakpoint
alexey verkhovsky: is too long
alexey verkhovsky: therefore, I usually have something like
alexey verkhovsky: def bp require 'breakpoint'; breakpoint; end
alexey verkhovsky: somewhere in the ap
al
I have been told that there is a ruby library called 'breakpoint' that
provides this functionality.
Bret
At 06:18 PM 8/19/2005, Tuyet Cong-Ton-Nu wrote:
Is there a way to insert a command inside the ruby script to stop it s
execution so you can debug or set a breakpoint on a certain line of c
Title: Message
there
is the breakpoint library. Its very powerful. Ive tried it - not to debug a
real application just to try it out
http://rubyforge.org/projects/ruby-breakpoint/
-Original Message-From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Tuyet Cong-
Quoted from Alex Verhovsky:
there is this RubyForge project called 'breakpoint',
http://ruby-breakpoint.rubyforge.org/wiki/wiki.pl?HomePage, which opens
an IRB session inside a running Ruby program. With it, you can do
something like
test/watir/long_convoluted_test_script.rb
require 'watir'
inc