From luke-tierney at uiowa.edu  Wed Mar 21 13:46:21 2012
From: luke-tierney at uiowa.edu (luke-tierney at uiowa.edu)
Date: Wed, 21 Mar 2012 07:46:21 -0500
Subject: [Rd] enableJIT() prohibits usual R debugging
In-Reply-To: <87mx7al3ab.fsf@gmail.com>
References: <87mx7al3ab.fsf@gmail.com>
Message-ID: <alpine.DEB.2.02.1203210744180.980@luke-Latitude>

I can't reproduce this in either 2.14.1 or R-devel.

luke

On Wed, 21 Mar 2012, Vitalie Spinu wrote:

>
> Hi,
>
> Browser doesn't work properly with the compiler enabled. It might be
> intended behavior, but it's not documented.
>
>
> compiler::enableJIT(1)
> foo <- function(){
>    browser()
>    cat("here\n")
> }
>
>
>
> Browser doesn't stop, and I am getting:
>
>> foo()
> Called from: foo()
> Browse[1]> here
>>
>
> Thanks,
> Vitalie.
>
>> sessionInfo()
> R version 2.14.2 (2012-02-29)
> Platform: i686-pc-linux-gnu (32-bit)
>
> locale:
> [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8
> [4] LC_COLLATE=en_US.UTF-8     LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
> [7] LC_PAPER=C                 LC_NAME=C                  LC_ADDRESS=C
> [10] LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
>
> attached base packages:
> [1] compiler  stats     graphics  grDevices utils     datasets  methods   base
>
> loaded via a namespace (and not attached):
> [1] tools_2.14.2
>>
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Luke Tierney
Chair, Statistics and Actuarial Science
Ralph E. Wareham Professor of Mathematical Sciences
University of Iowa                  Phone:             319-335-3386
Department of Statistics and        Fax:               319-335-3017
    Actuarial Science
241 Schaeffer Hall                  email:   luke-tierney at uiowa.edu
Iowa City, IA 52242                 WWW:  http://www.stat.uiowa.edu



[Rd] enableJIT() prohibits usual R debugging
luke-tierney at uiowa.edu