Feature #23899
closed
add a control function for debugging
Added by Franz Holzinger about 14 years ago.
Updated over 4 years ago.
Description
Sometimes you wish to give control instructions to the debug object. E.g. you wish to set other colors for the output. Or you want to clear the output debug file and append the next output to the empty file. Or you may want to change the debug output into an email or to the Front End.
This would allow an easier debugging with less output. There exist already some debug extensions. They all have their individual settings in the EM. With this function the debug settings could be changed during the execution of the extensions which are debugged.
(issue imported from #M16200)
Files
- Status changed from New to Needs Feedback
- Target version deleted (
0)
Hi,
as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (4.5 or 6.1)?
This feature is still needed in TYPO3 6.2.
See the file
./sysext/core/Classes/Core/GlobalDebugFunctions.php
I need a debug function which can set global attributes of the debug object $GLOBALS['error']. This shall make it possible to generate an easier readable debug output file. Such a debug method would make it possible to a TYPO3 extension to add many more debug features.
- Category set to Backend API
- Status changed from Needs Feedback to New
- Target version set to 8 LTS
I think you might like the debug bar we have in mind
- Target version changed from 8 LTS to 9.0
- Target version deleted (
9.0)
I would say that this kind of debugging has found its end some years ago. We have - thankfully - proper debugging with xdebug (and alternatives) in place, which work almost everywhere.
The big advantage: No debug code on live system, faster live systems as xdebug does not need to be present.
I think this ticket can be laid to rest.
- Status changed from New to Closed
closed in favor of xdebug
Also available in: Atom
PDF