Hi,
Am I the only who get the following error when trying to go step-by-step in
the debugger in the optp code?
469 [13:11] robertocaerdonn:ruby/LDAP> ruby -r debug ldap-infocentre.rb -d
Debug.rb
Emacs support available.
ldap-infocentre.rb:26:RCS_REV = "1"
(rdb:1) b 243
Set breakpoint 1 at ldap-infocentre.rb:243
(rdb:1) c
/usr/local/lib/ruby/1.8/optp.rb:1621: unexpected return
472 [13:21] robertocaerdonn:ruby/LDAP> ruby -v
ruby 1.8.0 (2003-09-09) [i386-freebsd5]
Line 1621 in optp.rb is:
-=-=-
def options
optp ||= OptionPr.new
block_given? or return optp
begin
yield optp <<<<<<<< line 1621
rescue PError
optp.warn $!
nil
end
end
-=-=-
and the code it is trying to execute is the following. Works ...
Bookmarks