Project

General

Profile

Actions

Bug #87149

closed

Cannot debug Generator output

Added by Mathias Brodala almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Extbase
Target version:
Start date:
2018-12-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

If DebuggerUtility::var_dump() is used on a \Generator, an error occurs:

Cannot rewind a generator that was already run

This is due to the implicit rewind() call within DebuggerUtility::renderCollection() which should be avoided for generators.

Actions

Also available in: Atom PDF