Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Debug.php File Reference


Detailed Description

Debugging support class.

Definition in file Debug.php.

Go to the source code of this file.

Classes

class  fbDebug
 Debugging support class. More...


Enumerations

enum  FB_DEBUG_OFF
enum  FB_DEBUG_NONE
enum  FB_DEBUG_LOG
enum  FB_DEBUG_HTML
enum  FB_DEBUG_TEXT
enum  FB_DEBUG_JAVASCRIPT
enum  FB_DEBUG_SQL
enum  FB_DEBUG_SELECT
enum  FB_DEBUG_EXPLAIN
enum  FB_DEBUG_TIME_SQL
enum  FB_DEBUG_SQL_ALL
enum  FB_DEBUG_EMAIL
enum  FB_DEBUG_SMARTY
enum  FB_DEBUG_TRACE
enum  FB_DEBUG_NO_STACKDUMP
enum  FB_DEBUG_NO_ASSERTS
enum  FB_DEBUG_ADODB
enum  FB_DEBUG_DEPRECATED
enum  FB_DEBUG_DEFAULT
enum  FB_DEBUG_ALL


Enumeration Type Documentation

enum FB_DEBUG_ADODB
 

Turn on ADOdb debugging

Definition at line 214 of file Debug.php.

enum FB_DEBUG_ALL
 

Debug everything (except javascript, which isn't fully debugged) (not recommended)

Definition at line 232 of file Debug.php.

enum FB_DEBUG_DEFAULT
 

The default debug level if not set to something else

Definition at line 226 of file Debug.php.

Referenced by fbDebug::_level(), and fbDebug::reset().

enum FB_DEBUG_DEPRECATED
 

Display depreciateds to the screen

Definition at line 220 of file Debug.php.

Referenced by fbDebug::deprecated().

enum FB_DEBUG_EMAIL
 

Send all emails to $USER@bnw.com

Definition at line 184 of file Debug.php.

enum FB_DEBUG_EXPLAIN
 

EXPLAIN SQL SELECT statements

Definition at line 166 of file Debug.php.

enum FB_DEBUG_HTML
 

Send debugging to browser in HTML

Definition at line 136 of file Debug.php.

Referenced by fbDebug::_dump(), fbDebug::_log(), fbDebug::br(), fbDebug::hr(), fbDebug::pre(), and fbDebug::tt().

enum FB_DEBUG_JAVASCRIPT
 

Send debugging to javascript window

Definition at line 148 of file Debug.php.

Referenced by fbDebug::_dump(), fbDebug::_log(), fbDebug::br(), fbDebug::hr(), fbDebug::pre(), and fbDebug::tt().

enum FB_DEBUG_LOG
 

Send debugging to ~/tmp/mercury.log or /tmp/$USER.log

Definition at line 130 of file Debug.php.

Referenced by fbDebug::_dump(), fbDebug::_log(), fbDebug::br(), and fbDebug::hr().

enum FB_DEBUG_NO_ASSERTS
 

Turn off assert statements

Definition at line 208 of file Debug.php.

Referenced by fbDebug::assertHandler().

enum FB_DEBUG_NO_STACKDUMP
 

Turn off stack dumps

Definition at line 202 of file Debug.php.

Referenced by fbDebug::stackdump().

enum FB_DEBUG_NONE
 

Backwards compatibility

Definition at line 124 of file Debug.php.

enum FB_DEBUG_OFF
 

Turn off debugging, fbDebug::debugging() will return false. This is the default if not overwritten by fbDebug::setLevel()

Definition at line 118 of file Debug.php.

Referenced by fbDebug::debugging().

enum FB_DEBUG_SELECT
 

Display 1st 1000 rows of SELECT statements

Definition at line 160 of file Debug.php.

enum FB_DEBUG_SMARTY
 

Turn on smarty debugging

Definition at line 190 of file Debug.php.

enum FB_DEBUG_SQL
 

Display SQL code

Definition at line 154 of file Debug.php.

enum FB_DEBUG_SQL_ALL
 

Display all of the above

Definition at line 178 of file Debug.php.

enum FB_DEBUG_TEXT
 

Send debugging to stdout in plain text

Definition at line 142 of file Debug.php.

Referenced by fbDebug::_dump(), fbDebug::_log(), fbDebug::br(), and fbDebug::hr().

enum FB_DEBUG_TIME_SQL
 

Display elapsed time for SQL queries

Definition at line 172 of file Debug.php.

enum FB_DEBUG_TRACE
 

Turn on trace statements

Definition at line 196 of file Debug.php.

Referenced by fbDebug::_enter_or_leave(), fbDebug::enter(), fbDebug::leave(), and fbDebug::trace().


Generated on Fri Mar 19 12:52:28 2004 for Freebeer by doxygen 1.3.6-20040222