Problem with debugger on FreeBSD

T

Travis Whitton

Hi, I just upgraded from ports on FreeBSD, and for some reason ruby's debugger
forces me to enter each command 5 times. Any idea what would cause this?

Thanks,
Travis

travis@aop:~$ uname -a
FreeBSD aop.intranet 4.9-RELEASE-p4 FreeBSD 4.9-RELEASE-p4 #0: Wed Mar 17
16:55:09 EST 2004 (e-mail address removed):/usr/obj/usr/src/sys/MYKERNEL i386
travis@aop:~$ ruby -v
ruby 1.8.1 (2004-05-02) [i386-freebsd4]
travis@aop:~$ cat test.rb
puts "hello"
puts "1"
puts "2"
puts "3"
puts "4"
puts "5"
travis@aop:~$ ruby -r debug test.rb
Debug.rb
Emacs support available.

test.rb:1:puts "hello"
(rdb:1) n
test.rb:1:puts "hello"
(rdb:1)
n
test.rb:1:puts "hello"
(rdb:1)
n
test.rb:1:puts "hello"
(rdb:1)
n
test.rb:1:puts "hello"
(rdb:1)
n
hello
test.rb:2:puts "1"
(rdb:1)
n
test.rb:2:puts "1"
(rdb:1)
n
test.rb:2:puts "1"
(rdb:1)
n
test.rb:2:puts "1"
(rdb:1)
n
test.rb:2:puts "1"
(rdb:1)
n
1
....
 
T

Travis

Hmmm... I just swapped the ports source build for a binary package, and it's
working now. Maybe it's my compiler.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,143
Latest member
DewittMill
Top