[TYPO3-english] Runtime debug

Xavier Perseguers typo3 at perseguers.ch
Tue Mar 9 11:41:25 CET 2010


Hi Sorin,

On 08.03.2010 17:31, Sorin Ivascu wrote:
> Hello everybody,
> I am trying to make my Eclipse / Typo3 / PHP configuration run a "runtime debug". I have succesfully instaled the Xdebug, set the configuration parameters in Eclipse in order to run a debug in the PHP Debug Perspective but when I start the project (Menu Run ->  Run), I get the message:
>
> Notice: /ams_medialibrary/pi1/class.tx_amsmedialibrary_pi1.php line 54 - Use of undefined constant PATH_tslib - assumed 'PATH_tslib'
> Debug Warning: /ams_medialibrary/pi1/class.tx_amsmedialibrary_pi1.php line 54 - require_once(PATH_tslibclass.tslib_pibase.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory
> Compile Error: /ams_medialibrary/pi1/class.tx_amsmedialibrary_pi1.php line 54 - require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'PATH_tslibclass.tslib_pibase.php' (include_path='.')
>
> It seems that I have a problem with the file / project paths in my debug configurations. Does any of you use runtime debugging with breakpoints succesfully?

I started a wiki page on this [1] as this topic comes quite often in 
these lists. As the time of writing it's still "empty" but it will 
hopefully be populated with useful information soon.

[1] http://wiki.typo3.org/index.php/Efficiently_Debugging_TYPO3

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en


More information about the TYPO3-english mailing list