Monday, June 4, 2012

Re: How to debug in eclipse?

Hi,

Do you have a solution for your problem?
I have install Xdebug in my win xp and it's work fine because with infophp I see that the module Xdebug is installed.

The problem is that can't navigate over my breakpoints.... my application is based in cakePhP and smarty.

I have read this tutorial (http://www.developertutorials.com/tutorials/php/debugging-cakephp-applications-in-zend-studio-for-eclipse-213/) but the error still the same:

PHP Fatal error:  Class 'AppController' not found in E:\workspacePHP\suiviERA\ihm\app\controllers\suivis_controller.php on line 20

I have this error when I try execute a controller like a script.

This is my configuration for start the application:

File: /suiviERA/ihm/index.php
Break at the first line: checked (it's work).

and in url: /suivisERA/index.php

Thanks in advance.


Le mercredi 11 juillet 2007 21:24:49 UTC+2, kamil....@gmail.com a écrit :
Hello! Can somebody describe me, how to setup eclipse pdt to debug
cakephp apps? When i try to debug any cakephp page it ends with
messages like

Debug Error: app/controllers/posts_controller.php line 2 - Class
'AppController' not found

Thank you for advice

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: