Project

General

Profile

Actions

Feature #23899

closed

add a control function for debugging

Added by Franz Holzinger about 14 years ago. Updated over 4 years ago.

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

0%

Estimated time:
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)


Files

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

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #86220: enhanced debug methodsRejected2018-09-10

Actions
Actions #1

Updated by Alexander Opitz about 11 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)?

Actions #2

Updated by Franz Holzinger about 11 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.

Actions #3

Updated by Alexander Opitz about 11 years ago

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

Updated by Mathias Schreiber almost 10 years ago

  • Target version set to 8 LTS

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

Actions #5

Updated by Riccardo De Contardi almost 8 years ago

  • Target version changed from 8 LTS to 9.0
Actions #6

Updated by Susanne Moog almost 7 years ago

  • Target version deleted (9.0)
Actions #7

Updated by Franz Holzinger about 6 years ago

Actions #8

Updated by Markus Klein over 5 years 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.

Actions #9

Updated by Georg Ringer over 4 years ago

  • Status changed from New to Closed

closed in favor of xdebug

Actions

Also available in: Atom PDF