Show executed line of code of script.

Discussion in 'PHP' started by jfontestad, May 19, 2010.

  1. #1
    I'm trying to trace executed lines of code of a script I have.

    I once had a piece of code that would display to me the code that was executed in a script, but can no longer find that piece of code.

    I was wondering if there is any code / script that will dump the executed code into a file or display it on the screen.
     
    jfontestad, May 19, 2010 IP
  2. jfontestad

    jfontestad Well-Known Member

    Messages:
    1,236
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    148
    #2
    Does anyone have any ideas?

    It can be server side and dump the file into a txt file or something.
     
    jfontestad, May 20, 2010 IP
  3. gapz101

    gapz101 Well-Known Member

    Messages:
    524
    Likes Received:
    8
    Best Answers:
    2
    Trophy Points:
    150
    #3
    nope, you have to trace yourself, like insert in every line an echo or throw an exception
     
    gapz101, May 20, 2010 IP