Debug
class Debug (View source)
Methods
Unregister debug events
Render a View to error
Render a View to show performance, memory and time to display page
Render a View to show performance and show declared classes
Register a debug views
Get memory usage and you can also use it to calculate runtime.
Get declared classes
Get snippet from a file
Get backtrace php scripts
Convert error message in a link, see system/config/debug.php
Details
at line 31
static void
unregister()
Unregister debug events
at line 57
static void
renderError(int $type, string $message, string $file, int $line)
Render a View to error
at line 92
static void
renderPerformance()
Render a View to show performance, memory and time to display page
at line 104
static void
renderClasses()
Render a View to show performance and show declared classes
at line 121
static void
view(string $type, string $view)
Register a debug views
at line 153
static array
performance()
Get memory usage and you can also use it to calculate runtime.
at line 167
static array
classes()
Get declared classes
at line 192
static array|null
source(string $file, int $line)
Get snippet from a file
at line 224
static array|null
caller(int $level = 0)
Get backtrace php scripts
at line 251
static string
searcherror(string $message)
Convert error message in a link, see system/config/debug.php