RDT and breakpointer


#1

How to get Rails’ script/breakpointer work in RDT 0.7 in Eclipse 3.1.2?

I’m new to Rails and have gotten breakpointer working in a csh on Fedora
Core 4. Also, the RDT setup works for breakpoints set in straight Ruby
code. I’m trying
http://www.napcs.com/howto/railsonwindows.html#setupbreakpointer. But a
breakpoint set in Eclipse doesn’t get hit at all. Fine! I place a
breakpoint() call in my Rails code. It gets hit alright… but the
server exits right away. It won’t let me get into irb.

— From Eclipse Console —
Tries to connect will be made every 2 seconds…
Executing break point “Let’s break for a while :)” at
./script/…/config/…/app/controllers/store_controller.rb:28 in
`display_cart’
Server exited. Closing connection…

No connection to breakpoint service at druby://localhost:42531
(DRb::DRbConnError)

What could I be doing wrong? Or any newie friendly & free RoR debuggers
out there? Any advice will be greatly appreciated!

DD


#2

Apparently, script/breakpointer is a wrong place to start. I got it
going a little by debugging script/server. But this combo of RDT
(0.7.0), Eclipse (3.1.2), Ruby (1.8.4) and Rails (1.0) on Fedora Core 4
gets a segment fault when resuming a breakpoint. Anybody got a GUI
debugger working on Liunx?


#3

On Mar 16, 2006, at 9:13 PM, Doug D. wrote:

Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails


Doug-

Check this out, its fairly new but pretty nice fro a gui debugger on

linux:

http://mr-guid.rubyforge.org/

Cheers-
-Ezra