|PDT/Zend Framework/Debugging [message #56109]
||Mon, 01 October 2007 00:26
Originally posted by: miller_kurt_e.yahoo.com|
Till now I have been debugging with Zend Studio. No problems; works
I have tried for a couple of days now to configure Eclipse and the Zend
PDT to debug (Zend Debugger) beyond index.php in an .htaccess rewrite
driven MVC environment (Zend Framework). I have read everything I could
find (including posts in this newsgroup) to gain some insights into how
debugging is intended to be setup and invoked but no luck. This all seems
Under PHP Servers I have two defined. One for Production that points to
the doc root: http://project_production.local (set as default) and one for
Development that points to the doc root: http://project_development.local
depending on which project within the workspace I'm working on. Neither
publish to the server. Break on first line is disabled. Debug all pages
is checked. The Zend toolbar in Firefox has debug all pages set as well.
From what I can gather, I set a breakpoint in the file, right click on the
file in the PHP Explorer, choose Debug as PHP Web Page and so on. That
works fine if I want to debug index.php, nothing else. If, for instance,
I set a breakpoint in /app/controllers/IndexController.php and debug
index.php to get the ball rolling, it just cruises right past the
breakpoint set in the controller. If I try to debug
/app/controllers/IndexContoller.php directly, it sends the url:
http://cpg_production.local/app/controllers/IndexController. php?original_url=http://cpg_production.local/app/controllers /IndexController.php&debug_port=10000&start_debug=1& amp;debug_start_session=1&debug_no_cache=1191197379179&a mp;debug_host=10.0.0.2%2C127.0.0.1&debug_session_id=1009 &send_sess_end=1
which is never going to work because the framework is supposed to call
this from the dispatcher.
And then I can select Debug as Open Debug Dialog and go that route but
that seems to want to setup a profile for each page I debug which doesn't
make sense . Nonetheless, I played with all those options to see if I
could get it to work but I couldn't so I'm just confused and exhausted.
I ready to start from scratch if someone can please just tell me how this
is supposed to go...
My sources are organized as:
same as above....
Virtual host settings
Options Indexes FollowSymLinks Includes ExecCGI
Allow from all
Thanks for any help,
Powered by FUDForum
. Page generated in 0.02071 seconds