Debugger class
package | Core |
---|---|
subpackage | Debug |
add(mixed $var, string $label)
This variable will be watched.
mixed
A variable or an object
string
An optional description for the variable
getDebugger(string $sType) : \cDebugInterface
If not defined, it returns the debugger from the current system settings.
string
The debugger to get, empty string to get debugger defined in system settings
\cInvalidArgumentException |
If type of debugger is unknown |
---|
getDefaultDebuggerName() : string
string
out(string $message)
The debug messages will be in a textrea in the header and in the file debuglog.txt. All messages are immediately written to the filesystem but they will only show up when cDebug::showAll() is called.
string
Message to display. NOTE: You can use buildStackString to show stacktraces
showAll()
_getSystemSettingDebugger() : string
string
$_defaultDebuggerName : string
DEBUGGER_DEVNULL
DEBUGGER_FILE
DEBUGGER_HIDDEN
DEBUGGER_VISIBLE
DEBUGGER_VISIBLE_ADV
DEBUGGER_VISIBLE_AND_FILE