myexperiment-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Myexperiment-discuss] Help with rails debug


From: James Howison
Subject: Re: [Myexperiment-discuss] Help with rails debug
Date: Wed, 22 Oct 2008 09:41:49 -0400

You want to use ruby-debug

http://www.sitepoint.com/article/debug-rails-app-ruby-debug/

note that I think the alternations to the environment.rb file are no longer needed.

Not sure if it is integrated into an IDE, but for basic stuff it's actually not that hard to use in the shell.

Good luck,
James

On 22 Oct 2008, at 9:32 AM, Don Cruickshank wrote:

There's a developer environment called RadRails which is built on Eclipse.
I've not tried it myself (though others here have) but it does have an
integrated debugger.



Another way to play with RoR applications is to use the rails application
console, e.g.



 $ cd myrailsapp

 $ ruby script/console production



Cheers,

Don.



From: address@hidden
[mailto:address@hidden On
Behalf Of Linde, A.E.
Sent: 22 October 2008 14:22
To: myexperiment-discuss
Subject: [Myexperiment-discuss] Help with rails debug



I'm trying to add a proxy to myExperiment that I can use to send commands to a REST interface but it isn't working and I have no idea how to debug a Rails app. I've discovered debug.xxx which is some help but I was wondering if it was possible (I'm using Eclipse on a Mac) to set breakpoints and check
variables on the fly.

If there is a web page that makes all this simple, please point me at it, or if someone can reply with a simple guide to debugging, I'd be grateful.

Thanks,
Tony.

--
Tony Linde
Project Manager
Department of Physics & Astronomy
University of Leicester

_______________________________________________
Myexperiment-discuss mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/myexperiment-discuss





reply via email to

[Prev in Thread] Current Thread [Next in Thread]