Debugging Multiple Session/PHP in Eclipse PDT, Help Needed.

Discussion in 'PHP' started by dhana_space1, Feb 27, 2009.

?

Do you use Eclipse for Debugging ?

  1. Never heard of that!

    0 vote(s)
    0.0%
  2. I don't need it.

    50.0%
  3. I want debug, But dont know how.

    0 vote(s)
    0.0%
  4. Yes, Few times.

    50.0%
  5. yes, I am expert and I use it.

    0 vote(s)
    0.0%
Multiple votes are allowed.
  1. #1
    Hello All,

    I am just learning how to debug PHP on Eclipse PDT.
    Configuration:
    XDebugger with PDT downloaded from (http://downloads.zend.com/pdt/all-in-one/pdt-2.0.0GA_debugger-5.2.15.v20081217-all-in-one-win32.zip).
    I have configured everything and
    I am able to debug successfully (Debug As -> PHP Script & PHP Web Page).

    Now, I need to help on debugging multiple files (i think, it is called Multiple Session) :) dont know.

    Example Files: one.php & two.php & three.php
    one.php display some form and when clicking submit it goes to three.php and displays the value.
    three.php uses a class which is there in two.php (I am able to go inside the class while debugging)
    I am able to debug the one.php and when I put a breakpoint in three.php, it is not hitting the breakpoint.

    To make it clear: three.php will be invoked with some post values and it will be displayed.
    Once the one.php execution is completed, I enter the values in the form. (in the Eclipse PDT)
    If someone suggest me on what needs to be done to hit the break point in three.php (I have set the break point, still not hitting)

    Please, someone guide me what needs to be done.

    Mani
     
    dhana_space1, Feb 27, 2009 IP
  2. Scripten

    Scripten Peon

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You should post in Eclipse's, or PHP's site. I don't really think you'll find an answer here.
     
    Scripten, Feb 27, 2009 IP