title: R: debugging code from emacs using ess-tracebug?
body: <p>I want to use interactive debugging of R code in emacs, and found about ess-tracebug, but can't get it to work. I did the following:</p>
  
  <ol>
  <li>Installed <code>ess-tracebug</code></li>
  <li>Started execution of an R script with ESS <code>C-c C-n</code></li>
  <li>Set up a breakpoint, now if I try to do <code>M-c c</code>, says "Debugging is not active"</li>
  </ol>
  
  <p>Here is what I added to my <code>~/.emacs</code> file:</p>
  
  <pre><code>(load "/home/user/ess/ess-5.13/lisp/ess-site")
  (ess-toggle-underscore nil)
  (add-to-list 'load-path "/home/user/emacs/")
  (require 'ess-tracebug)
  (add-hook 'ess-post-run-hook 'ess-tracebug t)
  (define-key ess-mode-map "\M-]" 'next-error)
  (define-key ess-mode-map "\M-[" 'previous-error)
  (define-key inferior-ess-mode-map "\M-]" 'next-error-no-select)
  (define-key inferior-ess-mode-map "\M-[" 'previous-error-no-select)
  </code></pre>
  
  <p>Any suggestions?</p>