| Line 19... |
Line 19... |
| 19 |
}
|
19 |
}
|
| 20 |
\details{
|
20 |
\details{
|
| 21 |
To use post-mortem debugging, set the option \code{error} to be a call
|
21 |
To use post-mortem debugging, set the option \code{error} to be a call
|
| 22 |
to \code{dump.frames}. By default this dumps to an \R object
|
22 |
to \code{dump.frames}. By default this dumps to an \R object
|
| 23 |
\code{"last.dump"} in the workspace, but it can be set to dump to a
|
23 |
\code{"last.dump"} in the workspace, but it can be set to dump to a
|
| 24 |
file (as dump of the object produced by a call to \code{\link{save}}).
|
24 |
file (a dump of the object produced by a call to \code{\link{save}}).
|
| 25 |
The dumped object contain the call stack, the active environments and
|
25 |
The dumped object contain the call stack, the active environments and
|
| 26 |
the last error message as returned by \code{\link{geterrmessage}}.
|
26 |
the last error message as returned by \code{\link{geterrmessage}}.
|
| 27 |
|
27 |
|
| 28 |
When dumping to file, \code{dumpto} gives the name of the dumped
|
28 |
When dumping to file, \code{dumpto} gives the name of the dumped
|
| 29 |
object and the file name has \code{.rda} appended.
|
29 |
object and the file name has \code{.rda} appended.
|
| Line 37... |
Line 37... |
| 37 |
If \code{dump.frames} is installed as the error handler, execution
|
37 |
If \code{dump.frames} is installed as the error handler, execution
|
| 38 |
will continue even in non-interactive sessions. See the examples for
|
38 |
will continue even in non-interactive sessions. See the examples for
|
| 39 |
how to dump and then quit.
|
39 |
how to dump and then quit.
|
| 40 |
}
|
40 |
}
|
| 41 |
\value{
|
41 |
\value{
|
| 42 |
None.
|
42 |
Invisible \code{NULL}.
|
| 43 |
}
|
43 |
}
|
| 44 |
\note{
|
44 |
\note{
|
| 45 |
Functions such as \code{\link{sys.parent}} and
|
45 |
Functions such as \code{\link{sys.parent}} and
|
| 46 |
\code{\link{environment}} applied to closures will not work correctly
|
46 |
\code{\link{environment}} applied to closures will not work correctly
|
| 47 |
inside \code{debugger}.
|
47 |
inside \code{debugger}.
|