These functions are part of the provDebugR package. To use them, you must
first initialise the debugger using
one its initialisation functions: prov.debug,
prov.debug.file, or prov.debug.run.
For each line number queried, debug.line returns a data frame of the data
that the procedure in that line inputs and outputs.
Each data frame contains the following columns:
name: The name of the data.
value: The value of the data.
container: The type of the container of the data, such as vector or data frame.
dimension: The size of the container.
type: The data type(s) contained within the container.
For each queried line, debug.state returns a data frame showing the state
at that line, after it has been executed.
Each data frame contains the following columns:
name: The names of variables in the state.
value: The value of each variable.
container: The type of the container of each variable.
dimension: The size of the container.
type: The data type(s) contained within the container.
scriptNum: The script number associated with each variable.
scriptName: The name of the script the variable is associated with.
startLine: The line number associated with each variable.
If no paramters are given, debug.state will return the state at the end of
execution.
For each variable queried, debug.variable returns a data frame of all
instances (data nodes) of that variable.
Each data frame contains the following columns:
value: The value of the variable.
container: The type of the container of the variable.
dimension: The size of the container.
type: The data type(s) contained within the container.
scriptNum: The script number the variable is associated with.
scriptName: The name of the script the variable or file is associated with.
startLine: The line number the variable is associated with.
code: The code this variable is associated with.