src/Debugger/Bar/TracePanel.php
public function start($title = null)
    {
        if (!$this->isError) {
            if ($this->state === self::STATE_RUN) {
                $this->pause();
            }

            if ($this->state === self::STATE_STOP) {
                $this->titles = [$title];
                \xdebug_start_trace($this->traceFile, XDEBUG_TRACE_COMPUTERIZED);
            } elseif ($this->state === self::STATE_PAUSE) {
                $this->titles[] = $title;
                \xdebug_start_trace($this->traceFile, XDEBUG_TRACE_COMPUTERIZED | XDEBUG_TRACE_APPEND);
            }

            $this->state = self::STATE_RUN;
        }
    }
public function start($title = null)
    {
        if (!$this->isError) {
            if ($this->state === self::STATE_RUN) {
                $this->pause();
            }

            if ($this->state === self::STATE_STOP) {
                $this->titles = [$title];
                \xdebug_start_trace($this->traceFile, XDEBUG_TRACE_COMPUTERIZED);
            } elseif ($this->state === self::STATE_PAUSE) {
                $this->titles[] = $title;
                \xdebug_start_trace($this->traceFile, XDEBUG_TRACE_COMPUTERIZED | XDEBUG_TRACE_APPEND);
            }

            $this->state = self::STATE_RUN;
        }
    }
public function start ( $ title = null ) { if ( ! $ this -> isError ) { if ( $ this -> state === self :: STATE_RUN ) { $ this -> pause ( ) ; } if ( $ this -> state === self :: STATE_STOP ) { $ this -> titles = [ $ title ] ; \ xdebug_start_trace ( $ this -> traceFile , XDEBUG_TRACE_COMPUTERIZED ) ; } elseif ( $ this -> state === self :: STATE_PAUSE ) { $ this -> titles [ ] = $ title ; \ xdebug_start_trace ( $ this -> traceFile , XDEBUG_TRACE_COMPUTERIZED | XDEBUG_TRACE_APPEND ) ; } $ this -> state = self :: STATE_RUN ; } }
Start or continue tracing.

@param  string|NULL trace title
Start or continue tracing .