traceback {env} R Documentation

Get and Print Call Stacks

Description


By default traceback() prints the call stack of the last uncaught
error, i.e., the sequence of calls that lead to the error. This
is useful when an error occurs with an unidentifiable error message.
It can also be used to print the current stack or arbitrary lists
of deparsed calls.

Usage

traceback(
    err = NULL);

Arguments

env

[as Environment]

Details

Authors

SMRUCC genomics Institute

Value

this function returns data object of type ExceptionData.

clr value class

Examples


[Package env version 2.33.856.6961 Index]