[TYPO3-dev] debug TYPO3 with Eclipse PDT
Elmar Hinz
elmar07 at googlemail.com
Wed Oct 17 18:57:33 CEST 2007
Joerg Schoppet wrote:
>
> Can somebody point me to the right direction, how to debug a
> typo3-extension within eclipse?
>
>
> Thanks in advance
>
> Joerg Schoppet
Hi Joerg,
famous professional programmers take debugging as the second best solution
to unit testing. I think it was Martin Fowler(http://martinfowler.com/) who
suggested, to always write a little unit test, where you elsewhere would
write a print (xdebug) output.
The debug output gives you a one time information, the unit test controls
the same problem, day by day and warns if something is changing. It's even
helpfull to learn specific details about the given behaviour of the core
and to find out when API or behaviour change.
Kasper Ligaard is currently improving Roberts phpunit extension:
http://typo3.org/extensions/repository/view/phpunit
The optical feedback is very nice and can inform you of the whole state of
your extension in one glance. Check it out. On the long run it saves you
time, if you don't use it exessively.
Realated stuff:
http://www.phpunit.de/
http://www.phpunit.de/pocket_guide/3.2/en/index.html
http://www.phing.info/trac/
Regards
Elmar
More information about the TYPO3-dev
mailing list