[ESS] Debug mode puts point in the wrong buffer

Vitalie Spinu spinuvit at gmail.com
Thu Jun 20 12:58:50 CEST 2013


 >> Andreas Leha <andreas.leha at med.uni-goettingen.de>
 >> on Thu, 20 Jun 2013 10:41:49 +0200 wrote:

[...]

 >> 
 >> Can you try the following. Create a new test.R and put the following
 >> into it:
 >> 
 >> 
 >> foo <- function(){
 >> browser()
 >> 1 + 2
 >> }
 >> 
 >> 
 >> foo()
 >> 
 >> Evaluate the function with C-c C-c. Then foo(). Do you see visual
 >> debugger jumping and highlighting the line 1+2?
 >> 

 > Sorry for hijacking this thread.  But I just tried that and I do not
 > get the visual debugger.  Do I need to enable that somehow?

What do you see in *R* buffer? It should be something like:
   
   Called from: foo()
   Browse[1]> 
   debug at /tmp/ESS-region/tests.R at 28#3: 1 + 2

Did you set ess-debug-skip-first-call to nil? If so, visual debugger
will not kick in automatically.
   
Vitalie



More information about the ESS-help mailing list