[Rd] enableJIT() prohibits usual R debugging

From: Vitalie Spinu <spinuvit_at_gmail.com>
Date: Wed, 21 Mar 2012 10:19:24 +0100

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 Received on Wed 21 Mar 2012 - 09:21:25 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 21 Mar 2012 - 13:50:34 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive