Re: [TYPO3-english] How to debug while creating extensions

2009-01-10 Thread Mario Rimann
Hi Jeppe Jeppe Donslund schrieb: > Are the any tools or extensions I can use to debug my extension to find > out why this error occurs? You can use the debug() method from the t3lib_div class. Just call debug($a) to see, what $a contains. In addition you could use debug($a, 'foobar') to render th

Re: [TYPO3-english] How to debug while creating extensions

2009-01-09 Thread Peter Russ
--- Original Nachricht --- Absender: Marcus 'biesior' Biesioroff Datum: 09.01.2009 19:14: > Jeppe Donslund wrote: > >> Are the any tools or extensions I can use to debug my extension to >> find out why this error occurs? > > Often I use krumo extension to output some variables: > http:/

Re: [TYPO3-english] How to debug while creating extensions

2009-01-09 Thread Thomas Meixner
Dmitry Dulepov wrote: > > Most PHP IDEs will allow you to set breakpoints in the code. > I recently have started live debugging my sites with xdebug and it has been very helpful. Check under Miscellaneous / Links the Video-driven tutorial showing how to debug TYPO3 sites live with eclipse, xd

Re: [TYPO3-english] How to debug while creating extensions

2009-01-09 Thread Marcus 'biesior' Biesioroff
Jeppe Donslund wrote: > Are the any tools or extensions I can use to debug my extension to find > out why this error occurs? Often I use krumo extension to output some variables: http://typo3.org/extensions/repository/view/krumo/current/ of course it should not be used on any remote host.

Re: [TYPO3-english] How to debug while creating extensions

2009-01-09 Thread Dmitry Dulepov
Hi! Jeppe Donslund wrote: > I get this error while creating an extension: > > Warning: array_merge() [function.array-merge]: Argument #2 is not an > array in > /var/www/www.mydomain.dk/www/typo3/sysext/cms/tslib/class.tslib_pibase.php > on line 507 > > Are the any tools or extensions I can use t

[TYPO3-english] How to debug while creating extensions

2009-01-09 Thread Jeppe Donslund
Hi. I get this error while creating an extension: Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/www.mydomain.dk/www/typo3/sysext/cms/tslib/class.tslib_pibase.php on line 507 Are the any tools or extensions I can use to debug my extension to find out w