This is automatic generated document for things in Swow\Debug namespace
Function block
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
build trace info from \Swow\Coroutine::getTrace() returns
See \Swow\Coroutine::getTrace()
Function isStrictStringable
Function isStringable
Function registerDeadlockDetectorHandler
Function registerExtendedStatementHandler
Function showExecutedSourceLines
Use -e for statement-by-statement output. Without -e, force samples execution at swow.debug_force_interval milliseconds and may miss short-lived code.