# Breakpointer failing

**URL:** <https://www.ruby-forum.com/t/breakpointer-failing/100439>\
**Category:** Rails\
**Created:** [February 2, 2006, 8:38pm UTC](https://www.ruby-forum.com/t/breakpointer-failing/100439 "2006-02-02T20:38:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![seanwarburton](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/2bfe46/32.png) [@seanwarburton](https://www.ruby-forum.com/u/seanwarburton)\
**Post date:** [February 2, 2006, 8:38pm UTC](https://www.ruby-forum.com/t/breakpointer-failing/100439/1 "2006-02-02T20:38:44Z")

</div>

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  
([BigBold - Informasi Tentang Bisnis dan Marketing](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:in `open\_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:in `open\_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:in `initialize’  
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:in `require’  
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:in `require’  
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](http://www.iheartsquares.com)

---

<div class="post-metadata">

**Author:** ![seanwarburton](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/2bfe46/32.png) [@seanwarburton](https://www.ruby-forum.com/u/seanwarburton)\
**Post date:** [February 2, 2006, 9:21pm UTC](https://www.ruby-forum.com/t/breakpointer-failing/100439/2 "2006-02-02T21:21:07Z")

</div>

Does breakpoint work locally, with no network interaction?

–  
– Tom M.

---

<div class="post-metadata">

**Author:** ![seanwarburton](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/2bfe46/32.png) [@seanwarburton](https://www.ruby-forum.com/u/seanwarburton)\
**Post date:** [February 2, 2006, 9:36pm UTC](https://www.ruby-forum.com/t/breakpointer-failing/100439/3 "2006-02-02T21:36:14Z")

</div>

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](mailto: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](http://www.iheartsquares.com)

---

<div class="post-metadata">

**Author:** ![seanwarburton](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/2bfe46/32.png) [@seanwarburton](https://www.ruby-forum.com/u/seanwarburton)\
**Post date:** [February 2, 2006, 9:45pm UTC](https://www.ruby-forum.com/t/breakpointer-failing/100439/4 "2006-02-02T21:45:20Z")

</div>

Yes, hit the breakpoint via unit or functional tests.

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

–  
– Tom M.
