Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread

 

By: Rocky Bernstein
RE: How to debug a Rails application in emacs? [ reply ]  
2009-04-06 13:09
No, not M-x eshell but M-x shell.

Also, I use GNU Emacs 23, but I think version 22 might work as well. Probably GNU Emacs version 21 or before won't, and probably not Emacs other than GNU.

By: Hooman Dunnil
RE: How to debug a Rails application in emacs? [ reply ]  
2009-04-06 11:55
Thank you for the quick reply!

Sorry for probably noob questions, you mean in eshell? (M-x eshell) And what is program name? Just a descriptive name?

By: Rocky Bernstein
RE: How to debug a Rails application in emacs? [ reply ]  
2009-04-06 11:39
By "shell" above, I mean an Emacs "comint shell" The "term" shell doesn't work, nor did I mean some sort of terminal shell outside of Emacs.

By: Rocky Bernstein
RE: How to debug a Rails application in emacs? [ reply ]  
2009-04-06 11:34
If you run script/server in a shell and use the rdebug-track-attach on that you get the fancy shit.

Whenever I use the full-fledged hide-the-command-line mode that you get with rdebug, there's often some situation that I get in that "rdebug-short-key" mode is getting in the way of.

And this is also true or moreso with rdebug-track-attach. So I generally use the more low-tech "turn-on-rdebug-track-mode".


By: Hooman Dunnil
How to debug a Rails application in emacs? [ reply ]  
2009-04-06 11:28
Hi,

I've just installed rdebug in emacs and it works fine for ruby scripts, but I cannot get it to work in a Rails application. Is this doable? If so, what are the instructions for it?

Thanks in advance,