[Rd] enableJIT() prohibits usual R debugging

Feng Li m at feng.li
Wed Mar 21 12:08:17 CET 2012


FYI

https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14594


On 03/21/2012 10:19 AM, 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
>>
>

-- 
Feng Li
Department of Statistics
Stockholm University
SE-106 91 Stockholm, Sweden
http://feng.li/



More information about the R-devel mailing list