Username:

Password:


  • Home
  • Help
  • Search
  • Downloads
  • Login
  • Register
CubeCart - FreeForums For All » CubeCart 5 » Developer's Kit » Debug Class
Pages: [1]   Go Down
« previous next »
Print
Author Topic: Debug Class
Chief!
Administrator
Newbie
*****
Posts: 13


Debug Class
« on: February 10, 2012, 12:19:18 AM »

Debug
+ firephp = null; object; FirePHP controller
- _custom = array(); array; Custom debug messages
- _debug_timer = 0; float; Debug timer used to calc page load time
- _display = true; bool; Display debug message
- _enabled = false; bool; Enabled/disabled
- _errors = array(); array; Error messages
- _messages = array(); array; FirePHP log group
- _sql = array(); array; SQL messages
- _timers = array(); array; Custom timers
- _xdebug = false; bool; XDebug enabled
# _instance; static instance; Class instance
# __construct; final
+ __destruct
+ getInstance: static instance; Setup the instance (singleton)
+ debugSQL; bool; Set an SQL message
+ debugMessage; string; Set a debug message
+ debugTail; bool; Add a message to the debug tail
+ display; ; Display debug
+ endTimer; float; End a custom timer and display
+ exceptionHandler; object; Error handler
+ errorLogger; bool; Error logger
+ firePHP; ; Bulk firePHP something
+ ratioError; static string; Make a ratio error
+ startTimer; ; Start a custom timer
+ status; bool; Get/set the debug status
+ supress; ; Supress display
- _debugGetBytes; static string; Get the byte size
- _debugMemoryUsage; string; Get memory usage
- _errorDisplay; string; Make error message
- _getTime; ; Get time using microtime or xdebug
- _makeExport; string; Make a variable export string
- _makeExportString; string|false; Makes an export string for debug
- _writeErrorLog; ; Write message to CC_system_error_log
As of CC522
Report to moderator   Logged
Pages: [1]   Go Up
Print
« previous next »
Jump to:  

Powered by SMF 1.1.23 | SMF © 2015, Simple Machines
Nly-Grey Theme by N a t i
Loading...