Class RDebug
Vars
Functions
static $return function trace($t, $indent)
Returns a pretty version of the stack trace. By default, debug_backtrace is called but the trace can be specified.
$t | array | Optional stack trace (e.g. when using $exception->getTrace()). debug_stacktrace is not called when set. |
$indent | string | Optional, for display reasons the indentation (e.g. four spaces). |
returns | $return | bool When true the trace is not printed but returned. |
static void function dump($value*)
Dumps a variable interactively to the console (command line) or to FirePHP console in the browser.
$value* | mixed | One or more variables to dump. |
static void function displayRecords($records, $maxLength)
Dumps records in a table format similar to mysql (traverses twice, first time to calculate column widths)
$records | array | Array of arrays (hash, array or objects). |
$maxLength | int | The max length of a column. |
|