Feature #6913

Implement a FLOW3 optimized var_dump function

Added by Robert Lemke over 5 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2010-03-18
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Error
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 8 Estimated time:7.00 hours
PHP Version: Complexity:
Has patch:

Description

Because FLOW3 uses many nested objects, debugging variables can become cumbersome because almost always the object manager is included which in turn has references to most other objects resulting in an endless recursion.

We need an optimize var_dump function which takes this into account.

improve_debugger_css.patch Magnifier (17 kB) Michael Sauter, 2010-03-20 14:52

Associated revisions

Revision f86485e4
Added by Robert Lemke over 5 years ago

[+FEATURE] FLOW3 (Error): Implemented a FLOW3 optimized var_dump() method - just call it with \F3\var_dump(). Some features are still missing though ... Relates to #6913

Revision 3b328ac0
Added by Robert Lemke over 5 years ago

[+FEATURE] FLOW3 (Error): Some improvements for the new var_dump method. Relates to #6913

Revision f1cf167f
Added by Karsten Dambekalns over 5 years ago

[~TASK] FLOW3 (Error): Some improvements to CSS/HTML in Debugger, resolves #6913.

Revision 9d089cbb
Added by Karsten Dambekalns over 5 years ago

[~TASK] FLOW3 (Error): Some tiny fixes to Debugger.css, relates to #6913.

History

#1 Updated by Robert Lemke over 5 years ago

  • % Done changed from 0 to 90
  • Estimated time changed from 2.00 to 7.00

#2 Updated by Michael Sauter over 5 years ago

Nice feature!

I know this is not finished, but after checking out the current version I think the current CSS can be improved a lot. I created a quick patch which does the following:
- fix some line-height problems (occured on mac/ff3.6)
- window is positioned absolutely (floating / relative positoning produced weird results for me)
- uses border-radius/box-shadow to get rid of all images except the linesBackground (I think this is a good place to use CSS3, as the shadow and the rounded corners are not absolutely necessary ;))
- simplifies html structure

Anyway, these are just some suggestions ... pick what you want from them :)

Edit: Ah guess absolute positioning is not the best solution cause that would only allow one var_dump per page ...

#3 Updated by Karsten Dambekalns over 5 years ago

  • Assigned To changed from Robert Lemke to Karsten Dambekalns

#4 Updated by Karsten Dambekalns over 5 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 90 to 100

Applied in changeset r4160.

Also available in: Atom PDF