Homec4science

Make it easier to use print_r() debugging

Authored by epriestley <git@epriestley.com> on Feb 11 2013, 20:06.

Description

Make it easier to use print_r() debugging

Summary:
The fixed-position side nav background thing tends to make looking at print_r() output hard. Also, it breaks Ajax, etc.

  • Loudly call out unexpected output on normal pages, to catch extra spaces before <?php, etc.
  • Display unexpected output in an attractive panel on normal pages.
  • Log unexpected output instead of breaking Ajax.

Test Plan:
{F32267}

Also triggered various fatals and verified they still show the right messages (no blank pages).

Reviewers: vrana, btrahan, chad

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D4892

Details

Committed
epriestley <git@epriestley.com>Feb 11 2013, 20:06
Pushed
aubortJan 31 2017, 17:16
Parents
rPH1e74c05ac6ff: Add timestamps to development-mode static resource URIs
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHf1a36cf3c8e0: Make it easier to use print_r() debugging (authored by epriestley <git@epriestley.com>).Feb 11 2013, 20:06