Feature #23899

add a control function for debugging

Added by Franz Holzinger almost 9 years ago. Updated 5 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2010-11-01
Due date:
% Done:

0%

PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

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)

debug_control.diff View (617 Bytes) Administrator Admin, 2010-11-01 10:51


Related issues

Related to TYPO3 Core - Feature #86220: enhanced debug methods Rejected 2018-09-10

History

#1 Updated by Alexander Opitz almost 6 years ago

  • 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)?

#2 Updated by Franz Holzinger over 5 years ago

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.

#3 Updated by Alexander Opitz over 5 years ago

  • Category set to Backend API
  • Status changed from Needs Feedback to New

#4 Updated by Mathias Schreiber over 4 years ago

  • Target version set to 8 LTS

I think you might like the debug bar we have in mind

#5 Updated by Riccardo De Contardi over 2 years ago

  • Target version changed from 8 LTS to 9.0

#6 Updated by Susanne Moog over 1 year ago

  • Target version deleted (9.0)

#7 Updated by Franz Holzinger 11 months ago

#8 Updated by Markus Klein 5 months ago

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.

Also available in: Atom PDF