The R Project SVN R

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
15357 jmc 1
\name{Session}
2
\alias{sessionData}
3
\alias{traceOn}
4
\alias{traceOff}
5
\alias{browseAll}
19087 jmc 6
\title{Deprecated:  Session Data and Debugging Tools}
18994 hornik 7
\description{
22419 hornik 8
  The functions \code{traceOn} and \code{traceOff} have been replaced by
9
  extended versions of the functions \code{\link{trace}} and
10
  \code{\link{untrace}}, and should not be used.
11
}
15357 jmc 12
\usage{
13
sessionData()
14
 
15
traceOn(what, tracer=browseAll, exit=NULL)
16
 
17
traceOff(what)
18
 
19
browseAll()
20
 
21
}
22
\details{
18994 hornik 23
  \describe{
24
    \item{\code{sessionData}:}{
25
      return the index of the session data in the search list,
26
      attaching it if it is not attached.
27
    }
15357 jmc 28
 
18994 hornik 29
    \item{\code{traceOn}:}{
30
      initialize tracing on calls to function \code{what}.  The function
31
      or expression \code{tracer} is called on entry, and the function
32
      or expression \code{exit} on exit.
33
    }
15357 jmc 34
 
18994 hornik 35
    \item{\code{traceOff}:}{
36
      turn off tracing of this function.
37
    }
15357 jmc 38
 
18994 hornik 39
    \item{\code{browseAll}:}{ 
40
      browse the current stack of function calls.
15357 jmc 41
 
18994 hornik 42
      Uses the function \code{debugger} to set up browser calls on the
43
      frames.  On exit from that function, computation continues after
44
      the call to \code{browseAll}.  Computations done in the frames
45
      will have no effect.
46
    }
47
  }
15357 jmc 48
}
49
\references{
18994 hornik 50
  See \emph{Programming with Data} (John M. Chambers, Springer, 1998)
51
  for the equivalent functions.
15357 jmc 52
}
22419 hornik 53
\keyword{internal}