Debugging PHP using Eclipse and PDT

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • johnywhy
    New Member
    • Dec 2007
    • 9

    Debugging PHP using Eclipse and PDT

    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!
    Last edited by Atli; Oct 24 '08, 11:08 PM. Reason: Removed the "Help!" from the title. It's completely redundant.
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    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?

    Comment

    Working...