Languages Perl & PHP & Python PHP Debugging and Error Handling  

Debug Window

download download home home  
important code information
author:
Hohl David
minimum requirements:
Debug Window description

With this code you can "debug" your variables and constants or your functions. With a mini window. TO SHOW: Enter the letters into the firstbox c = CONSTANT F = FUNKTIONS V or NOTHING = VARIABLES If you want to add you FAVOR. Variables into your session. check the boxes and press addall if you want to searcha variable enter the name into the second box and press Search. //INCLUDE THIS INTO YOUR HEADER if ($rup_debug or $session_debug):?> //INCLUDE DEBUG.php //FOR JAVASCRIPT include ("debug.php"); rup_debug_start(); endif; // THE FINAL STEP if ($rup_debug or $session_debug): $session_debug = "1"; session_register("session_debug"); $rup_debug_arr = get_defined_vars(); $rup_debug_func = get_defined_functions(); $rup_debug_const = get_defined_constants(); //start debug window rup_debug_window(); endif;



TO SHOW:

Enter the letters into the firstbox

c = CONSTANT
F = FUNKTIONS
V or NOTHING = VARIABLES


If you want to add you FAVOR. Variables into your session.
check the boxes and press addall

if you want to searcha variable enter the name into the second box
and press Search.

//INCLUDE THIS INTO YOUR HEADER


if ($rup_debug or $session_debug):?>
//INCLUDE DEBUG.php
//FOR JAVASCRIPT
include ("debug.php");
rup_debug_start();
endif;



// THE FINAL STEP

if ($rup_debug or $session_debug):
$session_debug = "1";
session_register("session_debug");
$rup_debug_arr = get_defined_vars();
$rup_debug_func = get_defined_functions();
$rup_debug_const = get_defined_constants();
//start debug window
rup_debug_window();
endif;


File List:
@PSC_ReadMe_1218_8.txt1Kb
debug.php7Kb
readme.txt1Kb

Similar code
COMCENTER 1.2 (Popularity: ) : COMMUNICATION CENTER is created for small web projects, for teams who will work directly with client and need his feedback about the status of the project. It can be used as a small BUG TRACKING system. It has an easy ...
PHP Testing Area (Popularity: ) : Testing php and javascript code snippets. Great for beginners. You don't need to make a test.php or a sample php file for testing some parts of your code or code snippets, just paste your code and press submit button
PHP Debugger And Helper (Popularity: ) : [PHP5] ODEBUGGER PACKAGE THis package is a debugging and helper tool. It overrides the errors and exceptions handling by PHP. Errors are generated, even if error_reporting is set to 0. Errors are translated in a more comprehensive way, and hints ...
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Rate me
supported os
stats
downloads 56
version
size in Kb 3
popularity   2067/7916114
user rating 9/10
ad


New Code
Popular Code