This is automatic generated document for things in Swow\Debug\Debugger\Debugger class
Class Debugger
Constants
protected DEFAULT_GREETING = " \u2588\u2588\u2588\u2588\u2588\u2588 \u2593\u2588\u2588\u2588\u2588\u2588\u2584 \u2584\u2584\u2584\u2584\n\u2592\u2588\u2588 \u2592 \u2592\u2588\u2588\u2580 \u2588\u2588\u258c\u2593\u2588\u2588\u2588\u2588\u2588\u2584\n\u2591 \u2593\u2588\u2588\u2584 \u2591\u2588\u2588 \u2588\u258c\u2592\u2588\u2588\u2592 \u2584\u2588\u2588\n \u2592 \u2588\u2588\u2592\u2591\u2593\u2588\u2584 \u258c\u2592\u2588\u2588\u2591\u2588\u2580\n\u2592\u2588\u2588\u2588\u2588\u2588\u2588\u2592\u2592\u2591\u2592\u2588\u2588\u2588\u2588\u2593 \u2591\u2593\u2588 \u2580\u2588\u2593\n \u2591\u2592\u2593\u2592 \u2592 \u2591 \u2592\u2592\u2593 \u2592 \u2591\u2592\u2593\u2588\u2588\u2588\u2580\u2592\n \u2591\u2592 \u2591 \u2592 \u2592 \u2592\u2591\u2592 \u2591\n-------------------\nSDB (Swow Debugger)\n-------------------\n" Properties
protected $currentCoroutine protected $currentFrameIndex protected $currentSourceFile protected $currentSourceFileLine public $debuggerCoroutine protected static $instance protected $lastCommand protected $lastTraceDepth protected $reflection Methods
Static method getInstance
protected static final function getInstance ( ) : static Static method runOnEofStream
public static function runOnEofStream ( ) : static Static method runOnTTY
public static function runOnTTY ( ) : static Method __construct
protected function __construct ( DebuggerIoInterface $io ) Method __destruct
public function __destruct ( ) Method getCurrentCoroutine
public function getCurrentCoroutine ( ) : Coroutine Method getCurrentCoroutineTrace
protected function getCurrentCoroutineTrace ( ) : array<int, array{function: (string | null), class: (string | null), args: array<string>, file: (string | null), line: (int | null), type: (string | null)}> Returns array<int, array{function: (string | null), class: (string | null), args: array<string>, file: (string | null), line: (int | null), type: (string | null)}>
$trace
Method getCurrentFrameIndex
public function getCurrentFrameIndex ( ) : int Method getCurrentFrameIndexExtendedForExecution
public function getCurrentFrameIndexExtendedForExecution ( ) : int Method getCurrentSourceFile
public function getCurrentSourceFile ( ) : ?SplFileObject Method getCurrentSourceFileLine
public function getCurrentSourceFileLine ( ) : int Method getLastCommand
public function getLastCommand ( ) : string[] Method loop
protected function loop ( ) : void Method run
public function run ( ) : static Method setCurrentCoroutine
protected function setCurrentCoroutine ( Coroutine $coroutine ) : static Method setCurrentFrameIndex
protected function setCurrentFrameIndex ( int $index ) : static Method setCurrentSourceFile
public function setCurrentSourceFile ( ?SplFileObject $currentSourceFile ) : static Method setCurrentSourceFileLine
public function setCurrentSourceFileLine ( int $currentSourceFileLine ) : static Method setLastCommand
public function setLastCommand ( string[] $lastCommand ) : static Method showCoroutine
protected function showCoroutine ( Coroutine $coroutine ) : static Method showCoroutines
public function showCoroutines ( Coroutine[] $coroutines ) : static Method showFollowingSourceFileContent
protected function showFollowingSourceFileContent ( int $lineCount ) : static Method showSourceFileContentByTrace
public function showSourceFileContentByTrace ( array<array{file: (string | null), line: (int | null)}> $trace , int $frameIndex , bool $following ) : static Method showTrace
protected function showTrace ( array<int, array{function: (string | null), class: (string | null), args: array<string>, file: (string | null), line: (int | null)}> $trace , ?int $frameIndex ) : static