Hi everybody. My quest for a Ruby debugger is over.
This does it: http://stackoverflow.com/questions/1359333/how-do-i-use-ruby-debug-inside-emacs The result is a 6-window split in emacs. One is interactive to rdb. One is the code with the program counter (i.e. the "arrow") One is for variables. One is for output. One is for breakpoints. And so forth. My ~/.emacs looks like: (add-to-list 'load-path "/export/home/scracraft/Lisp/") (add-to-list 'load-path "/usr/local/share/emacs/site-lisp/") (add-to-list 'auto-mode-alist '("*\\.rb\\'* <file://.rb/'>" . ruby-mode)) (autoload 'ruby-mode "ruby-mode" "Major mode for editing Ruby code" t) (add-hook 'ruby-mode-hook (lambda () (local-set-key "\r" 'newline-and-indent))) (require 'inf-ruby) (require 'rdebug) Operation consists of: open emacs visit the .rb source file do meta-x (i.e. escape-key) and then rdebug window splits. type help. Commands include step, next, print, break, etc. Stuart P.S. I prefer Emacs to GUI editors other than Xcode. OnTuesday, December 24, 2013 3:21:48 PM UTC-8, Stuart Cracraft wrote: > Hi, > > Is there a plain-text visual debugger ide for Linux for Ruby anyone can > mention? > > Stuart > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/ca079d49-61d2-46cd-b5c4-b24400ae7ebd%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
