Task #31300
closed
Improve t3lib_utility_debug::debugTrail to better handle includes
Added by Markus Klein over 13 years ago.
Updated over 7 years ago.
Description
When trying to debug deprecation issues like #31290, it is hard to actually follow the stack trace as the output misses important information for include and require statements.
My patch adds this information to the output.
- Status changed from New to Under Review
Patch set 1 of change If816432d3204454954079c636f539243eb3fa55b has been pushed to the review server.
It is available at http://review.typo3.org/6343
Output for example case #31290
Old output:
t3lib_cache_backend_DbBackend->setCacheTable() - since TYPO3 4.6: The backend calculates the table name internally, this method does nothing anymore - require#55 // include#377 // t3lib_cache_Factory->create#2796 // t3lib_div::makeInstance#83 // ReflectionClass->newInstanceArgs#4924 // t3lib_cache_backend_AbstractBackend->__construct# // t3lib_cache_backend_DbBackend->setCacheTable#84 // t3lib_div::logDeprecatedFunction#379 (_src_4-6/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php#378)
New output:
t3lib_cache_backend_DbBackend->setCacheTable() - since TYPO3 4.6: The backend calculates the table name internally, this method does nothing anymore - require(_src_4-6/typo3/init.php),_src_4-6/typo3/index.php#38 // include(typo3conf/temp_CACHED_pse8ab_ext_tables.php),_src_4-6/typo3/init.php#377 // t3lib_cache_Factory->create#2796 // t3lib_div::makeInstance#83 // ReflectionClass->newInstanceArgs#4924 // t3lib_cache_backend_AbstractBackend->__construct# // t3lib_cache_backend_DbBackend->setCacheTable#84 // t3lib_div::logDeprecatedFunction#379 (_src_4-6/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php#378)
Patch set 2 of change If816432d3204454954079c636f539243eb3fa55b has been pushed to the review server.
It is available at http://review.typo3.org/6343
Patch set 3 of change If816432d3204454954079c636f539243eb3fa55b has been pushed to the review server.
It is available at http://review.typo3.org/6343
- Target version changed from 4.6.1 to 4.6.2
- Category deleted (
Reports)
- Target version deleted (
4.6.2)
- Status changed from Under Review to Resolved
- % Done changed from 90 to 100
- Target version set to 4.5.12
- TYPO3 Version changed from 4.6 to 4.5
- Status changed from Resolved to Closed
Also available in: Atom
PDF