# R: Deprecated: Session Data and Debugging Tools

Session {methods} | R Documentation

## Deprecated: Session Data and Debugging Tools

### Description

The functions `traceOn` and `traceOff` have been replaced by extended versions of the functions `trace` and `untrace`, and should not be used.

### Usage

    sessionData()

    traceOn(what, tracer=browseAll, exit=NULL)

    traceOff(what)

    browseAll()

### Details

`sessionData`:
  return the index of the session data in the search list, attaching it if it is not attached.
`traceOn`:
  initialize tracing on calls to function `what`. The function or expression `tracer` is called on entry, and the function or expression `exit` on exit.
`traceOff`:
  turn off tracing of this function.
`browseAll`:
  browse the current stack of function calls.

  Uses the function `debugger` to set up browser calls on the frames. On exit from that function, computation continues after the call to `browseAll`. Computations done in the frames will have no effect.

### References

See Programming with Data (John M. Chambers, Springer, 1998) for the equivalent functions.

[Package methods version 2.6.0 Index]