added xdebug_is_debugger_active() (#855)
This commit is contained in:
parent
e0723c43a4
commit
300365d4b2
|
@ -5241,6 +5241,7 @@ const FUNCTIONS = array (
|
||||||
'xdebug_get_profiler_filename' => 'xdebug/xdebug.php',
|
'xdebug_get_profiler_filename' => 'xdebug/xdebug.php',
|
||||||
'xdebug_get_stack_depth' => 'xdebug/xdebug.php',
|
'xdebug_get_stack_depth' => 'xdebug/xdebug.php',
|
||||||
'xdebug_get_tracefile_name' => 'xdebug/xdebug.php',
|
'xdebug_get_tracefile_name' => 'xdebug/xdebug.php',
|
||||||
|
'xdebug_is_debugger_active' => 'xdebug/xdebug.php',
|
||||||
'xdebug_is_enabled' => 'xdebug/xdebug.php',
|
'xdebug_is_enabled' => 'xdebug/xdebug.php',
|
||||||
'xdebug_memory_usage' => 'xdebug/xdebug.php',
|
'xdebug_memory_usage' => 'xdebug/xdebug.php',
|
||||||
'xdebug_peak_memory_usage' => 'xdebug/xdebug.php',
|
'xdebug_peak_memory_usage' => 'xdebug/xdebug.php',
|
||||||
|
|
|
@ -289,6 +289,15 @@ function xdebug_get_headers () {}
|
||||||
|
|
||||||
function xdebug_get_formatted_function_stack() {}
|
function xdebug_get_formatted_function_stack() {}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns whether a debugging session is active.
|
||||||
|
*
|
||||||
|
* Returns true if a debugging session through DBGp is currently active with a client attached; false, if not.
|
||||||
|
*
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
|
function xdebug_is_debugger_active() {}
|
||||||
|
|
||||||
define ('XDEBUG_STACK_NO_DESC', 1);
|
define ('XDEBUG_STACK_NO_DESC', 1);
|
||||||
define ('XDEBUG_TRACE_APPEND', 1);
|
define ('XDEBUG_TRACE_APPEND', 1);
|
||||||
define ('XDEBUG_TRACE_COMPUTERIZED', 2);
|
define ('XDEBUG_TRACE_COMPUTERIZED', 2);
|
||||||
|
|
Loading…
Reference in New Issue