Breakpointer failing


#1

Hey there,

I got a new workstation going on here an Intel iMac, and I’ve compiled
and installed everything with intel binaries. Everything works fine, I
even got that cool clever lighttpd script running
(http://www.bigbold.com/snippets/posts/show/303).

But the one thing that doesn’t work is breakpoints and the breakpointer
script.

When I run script/breakpointer, I get the following error:
/usr/local/lib/ruby/1.8/drb/drb.rb:837:in getaddrinfo': getnameinfo: Non-recoverable failure in name resolution (SocketError) from /usr/local/lib/ruby/1.8/drb/drb.rb:837:inopen_server_inaddr_any’
from /usr/local/lib/ruby/1.8/drb/drb.rb:860:in open_server' from /usr/local/lib/ruby/1.8/drb/drb.rb:756:inopen_server’
from /usr/local/lib/ruby/1.8/drb/drb.rb:754:in open_server' from /usr/local/lib/ruby/1.8/drb/drb.rb:1336:ininitialize’
from /usr/local/lib/ruby/1.8/drb/drb.rb:1624:in start_service' from /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/breakpoint_client.rb:146 from /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/breakpoint_client.rb:145 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:inrequire’
from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in
require' from /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/breakpointer.rb:1 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:inrequire’
from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in
`require’
from script/breakpointer:3

I checked my hosts file and everything seems fine there. I also tried
with the -s option and giving it a full path it didn’t work either.

I think that the actual breakpoints aren’t working either, because I
tried running the breakpointer from a remote machine pointing it to my
workstation using the -s option, and it never connects when it’s at a
breakpoint. I also did a netstat to look for the port 42531 being
opened, and it doesn’t appear to be open. But the server surely does
stop at that point.

I tried a bunch of searches on the net and have found pretty much
nothing. Have any of you run into these issues?


Sean W.
master nerd of
i heart squares, Co.

3711 N. Ravenswood Ave. #147 Chicago, IL 60613
Ph. (773) 531-6301 Fx. (773) 529-7041
http://www.iheartsquares.com


#2

Does breakpoint work locally, with no network interaction?


– Tom M.


#3

I’m not sure what you mean, but on one machine i have a breakpoint
keyword in a method. I run the page with that method, the page spins.
Then on the same computer i run “script/breakpointer” which by default
tries to bind to localhost.

Is there a different way of doing this that I’m not aware of?

On 2/2/06, Tom M. removed_email_address@domain.invalid wrote:

I got a new workstation going on here an Intel iMac, and I’ve compiled
from /usr/local/lib/ruby/1.8/drb/drb.rb:837:in
breakpoint_client.rb:145
`require’
workstation using the -s option, and it never connects when it’s at a
breakpoint. I also did a netstat to look for the port 42531 being
opened, and it doesn’t appear to be open. But the server surely does
stop at that point.

I tried a bunch of searches on the net and have found pretty much
nothing. Have any of you run into these issues?


Sean W.
master nerd of
i heart squares, Co.

3711 N. Ravenswood Ave. #147 Chicago, IL 60613
Ph. (773) 531-6301 Fx. (773) 529-7041
http://www.iheartsquares.com


#4

Yes, hit the breakpoint via unit or functional tests.

You’ll enter the breakpoint without the need for breakpointer.


– Tom M.