Displaying 2 results from an estimated 2 matches for "009154".
Did you mean:
109154
2014 Dec 31
1
Unexpected behavior of debug() in step-wise mode
Why does debug() enter Browse[3] here at all, and why does it happen the
first time and not the second? This seems unexpected to me, and has
undesirable effects for ESS users (that I reported here -
https://stat.ethz.ch/pipermail/ess-help/2013-June/009154.html - but just
realized my post to r-devel didn't make it through when I tried to report
it back then).
> Fun <- function(n) print(n)
> debug(Fun)
> Fun(2)
debugging in: Fun(2)
debug: print(n)
Browse[2]> {n+2}
debug at #1: n + 2
Browse[3]> c
[1] 4
Browse[2]> {n+2}
[1] 4
B...
2015 Jan 01
1
Unexpected behavior of debug() in step-wise mode
41;309;0c> Why does debug() enter Browse[3] here at all, and why does it happen the
> first time and not the second? This seems unexpected to me, and has
> undesirable effects for ESS users (that I reported here -
> https://stat.ethz.ch/pipermail/ess-help/2013-June/009154.html - but just
> realized my post to r-devel didn't make it through when I tried to report
> it back then).
>
> > Fun <- function(n) print(n)
> > debug(Fun)
> > Fun(2)
> debugging in: Fun(2)
> debug: print(n)
> Browse[2]> {n+2}
> debug at #1: n + 2...