[TYPO3-mvc] debug repository object with debug()

Fabien Udriot fudriot at omic.ch
Mon Apr 4 06:58:49 CEST 2011


>> Or at least, can anyone confirm this? What would be the reason for
>> running out of memory with 1.3 when displaying extbase objects by the
>> mean of debug(). (more than 1024Mo in my case)
>
> Yes, I can confirm - it's the same for any domain object having a lazy loaded property. The reason
> is, that those now have references to injected objects that in summary have a reference to almost
> every part of the Extbase framework. So debugging the repository could end up with debugging the
> whole framework at once. That's probably the downside of DI.
>

Thanks for your reply and confirmation.

Though, some debug output is lacking in case of low level debugging. If someone has a solution / 
approach to share, I will gladly put it on the Wiki.

Cheers

Fb.


More information about the TYPO3-project-typo3v4mvc mailing list