This is automatic generated document for things in Swow\Debug namespace
Function block
function block ( int $timeout ) : void Block the current thread for testing syscall blocking detection
This function uses native sleep to simulate a real syscall blocking scenario, which will be detected by Watchdog if it’s running.
Param int $timeout The time to block in milliseconds (must be positive)
Function buildTraceAsString
function buildTraceAsString ( array<array{file: string, line: int, function: string, class: string, type: string, args: array<mixed>}> $trace ) : string build trace info from \Swow\Coroutine::getTrace() returns
See \Swow\Coroutine::getTrace()
Function isStrictStringable
function isStrictStringable ( mixed $value ) : bool Function isStringable
function isStringable ( mixed $value ) : bool Function registerDeadlockDetectorHandler
function registerDeadlockDetectorHandler ( ) : Handler Function registerExtendedStatementHandler
function registerExtendedStatementHandler ( callable $handler , bool $force ) : \Swow\Utils\Handler Function showExecutedSourceLines
function showExecutedSourceLines ( mixed $filter , bool $force ) : void Function var_dump_return
function var_dump_return ( mixed ... $expressions ) : string Classes