PHPTrace Wiki
Brought to you by:
eufcrm
Welcome to your wiki!
This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
The wiki uses Markdown syntax.
Introduction
It displays the trace list of the error. It is based on debug_backtrace. It is very helpful in PHP projects. Jquey is used to display the error list in expandable and collapsable block.
Details
This is a simple error tracker for PHP, which displays a trace list from the start page to the page where the error occured. It can show the fatal error details also.
It displays the following:
1) File name, path and line number of each page
2) The list of variables(data will be showed in a popup by clicking it) when the error occured.
There are three functions available. All are used to detect runtime errors.
1) trace()
The resulted error output can be displayed in 4 ways
a) show message on the screen and die
b) show message on the screen and continue
c) show message only when the URL has parameter "trace" or the $_REQUEST has "trace" key. Ex. index.php?param1=value1,param2=value2&trace
d) show message only on the developer IP set in the configuration file
2) traceDirect()
The resulted error output can be displayed in 2 ways
a) show message on the screen and die
b) show message on the screen and continue
3) traceToFile()
The resulted error output can be displayed in 1 way
a) send the message to "trace.html" where the debug.php resides.
Installation
upload the debug.php into the project folder
Usage
Last edit: Tamil Amuthan 2012-08-23