// Standard, fix end and start time manually
$debug_line = $Dbg->add('Manual performance monitoring');
$debug_line->setStartTime();
for ($i = 0; $i < 20000; $i++) {
    $j = 0;
}
$debug_line->setEndTime();
// Application settings ========================================================
// Add an application setting
$Dbg->addSetting($renderer, 'app_renderer_mode');
// Add a group of application settings
$Dbg->addSettings($options, 'app_settings');
// Test dump() function ========================================================
// dump a variable (integer)
$foo = 555;
$Dbg->dump($foo, 'Foo');
// dump a variable (double)
$foo2 = 37.2;
$Dbg->dump($foo2, 'Foo2');
// dump an array
$Dbg->dump($options, 'Options');
// dump an object
$testObject = new PHP_DebugLine('info info info inside DebugLine object');
$testObject = $Dbg->dump($testObject);
// test the automatic return of debug line objects by the public functions
//$testObject = $Dbg->dump('i am the object');
//PHP_Debug::dumpVar($testObject, '$testObject', 1);
// dump an object and die the script
//PHP_Debug::dumpVar($testObject, 'stooooooop', true);
// Test setAction() ============================================================
// Type 12 : Page action : --> Methode publique a creer
// Test restrictAcess() function, only IP in param array will see the debug ====
//$Dbg->restrictAcess($allowedip);
// Test add() function =========================================================
// Standard
$Dbg->add("This is the <b>HTML_Table_Render</b>, client IP is " . $_SERVER['REMOTE_ADDR']);
// Standard, fix end and start time manually
$debug_line = $Dbg->add('Manual performance monitoring');
$debug_line->setStartTime();
for ($i = 0; $i < 20000; $i++) {
    $j = 0;
}
$debug_line->setEndTime();
// Test dump() function ========================================================
// dump a variable (integer)
$foo = 555;
$Dbg->dump($foo, 'Foo');
// dump a variable (double)
$foo2 = 37.2;
$Dbg->dump($foo2, 'Foo2');
// dump an array
//$Dbg->dump($options, 'Options');
// dump an object
$testObject = new PHP_DebugLine('info info info inside DebugLine object');
$Dbg->dump($testObject);
// dump an object and die the script
//PHP_Debug::dumpVar($testObject, 'stooooooop', true);
// Test setAction() ============================================================
// Type 12 : Page action : --> Methode publique a creer
$action = 'view_test_action';
$Dbg->setAction($action);
// Test watch() function, watched var is 'watchedVariable' =====================