[ESS] Debug mode puts point in the wrong buffer

Andreas Leha andreas.leha at med.uni-goettingen.de
Thu Jun 20 13:54:58 CEST 2013


Vitalie Spinu <spinuvit at gmail.com> writes:

>  >> 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
>
I see this

    Called from: foo()
    Browse[1]> 
    debug bei /tmp/ESS-region/20-103751.R at 6#3:1 + 2
    Browse[2]> 

I did not set ess-debug-skip-first-call:

    ess-debug-skip-first-call is a variable defined in `ess-tracebug.el'.
    Its value is t

Regards,
Andreas



More information about the ESS-help mailing list