Connecting Tech Pros Worldwide Forums | Help | Site Map

Debugging PHP using Eclipse and PDT

Newbie
 
Join Date: Dec 2007
Posts: 1
#1: Oct 24 '08
hello

hope someone can figure this out.

i'm using pdt with eclipse to debug a php app.

I'm able to debug a single script, but how to step through a php app containing many files?

The debugger does not seem to understand a multi-file application., it does not seem to find needed external php files or images.

and, when i submit the index.php, i get back "blank./index.php" and a blank page, instead of the correct result.

how come eclipse is not finding external php files and images?
how come this weird "blank./" path is being returned?

I don't need remote debug, just local debug.
Running IIS (i know, i know), and php 4.4.x.

the php files contain html as well as php script.

Using the Zend debugger in Eclipse.

please help! rather time-sensitive.

THANKS!

Atli's Avatar
Moderator
 
Join Date: Nov 2006
Location: Iceland
Posts: 3,754
#2: Oct 25 '08

re: Debugging PHP using Eclipse and PDT


Hi.

Could you not simply debug the script on the server?
Or set up a test server to debug on?

I don't know much about the debugging capabilities of Eclipse, with or without PDT, but I have yet to come across an IDE debugger that was worth bothering with. They were all flawed in one way or another.

Is there any specific reason why you need this to happen inside Eclipse?
Reply