Advanced PHP Debugger

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jabarker1@gmail.com

    Advanced PHP Debugger

    Hey everyone!

    First thanks to those of you that try and help me with my problem
    here. Okay, now on to the issue at hand.

    My setup is as follows:
    • OS: Ubuntu Gutsy (6.3)
    • PHP: 5.2.3 as an Apache2 handler.

    Okay, I've intalled the APD extension by pecl install apd and also by
    downloading the source and compiling, neither working.

    According to phpinfo() the extension is installed and the Zend engine
    is showing that it contains the debugger, but everytime I try to run
    my script and I throw in the trace function (apd_set_pprof_ trace()) I
    get the following:

    Fatal error: Call to undefined function apd_set_pprof_t race()

    Any help is much appreciated!
  • TWayne

    #2
    Re: Advanced PHP Debugger

    Hey everyone!
    >
    First thanks to those of you that try and help me with my problem
    here. Okay, now on to the issue at hand.
    >
    My setup is as follows:
    • OS: Ubuntu Gutsy (6.3)
    • PHP: 5.2.3 as an Apache2 handler.
    >
    Okay, I've intalled the APD extension by pecl install apd and also by
    downloading the source and compiling, neither working.
    >
    According to phpinfo() the extension is installed and the Zend engine
    is showing that it contains the debugger, but everytime I try to run
    my script and I throw in the trace function (apd_set_pprof_ trace()) I
    get the following:
    >
    Fatal error: Call to undefined function apd_set_pprof_t race()
    >
    Any help is much appreciated!
    Please learn how to cross-post:

    How to Post to more than one group:




    Comment

    • Jerry Stuckle

      #3
      Re: Advanced PHP Debugger

      TWayne wrote:
      >Hey everyone!
      >>
      >First thanks to those of you that try and help me with my problem
      >here. Okay, now on to the issue at hand.
      >>
      >My setup is as follows:
      > • OS: Ubuntu Gutsy (6.3)
      > • PHP: 5.2.3 as an Apache2 handler.
      >>
      >Okay, I've intalled the APD extension by pecl install apd and also by
      >downloading the source and compiling, neither working.
      >>
      >According to phpinfo() the extension is installed and the Zend engine
      >is showing that it contains the debugger, but everytime I try to run
      >my script and I throw in the trace function (apd_set_pprof_ trace()) I
      >get the following:
      >>
      >Fatal error: Call to undefined function apd_set_pprof_t race()
      >>
      >Any help is much appreciated!
      >
      Please learn how to cross-post:
      >
      How to Post to more than one group:

      >
      >
      >
      >
      He did crosspost.

      --
      =============== ===
      Remove the "x" from my email address
      Jerry Stuckle
      JDS Computer Training Corp.
      jstucklex@attgl obal.net
      =============== ===

      Comment

      • jabarker1@gmail.com

        #4
        Re: Advanced PHP Debugger

        On Jul 6, 5:39 pm, "TWayne" <nob...@devnull .spamcop.netwro te:
        Hey everyone!
        >
        First thanks to those of you that try and help me with my problem
        here. Okay, now on to the issue at hand.
        >
        My setup is as follows:
         • OS: Ubuntu Gutsy (6.3)
         • PHP: 5.2.3 as an Apache2 handler.
        >
        Okay, I've intalled the APD extension by pecl install apd and also by
        downloading the source and compiling, neither working.
        >
        According to phpinfo() the extension is installed and the Zend engine
        is showing that it contains the debugger, but everytime I try to run
        my script and I throw in the trace function (apd_set_pprof_ trace()) I
        get the following:
        >
        Fatal error: Call to undefined function apd_set_pprof_t race()
        >
        Any help is much appreciated!
        >
        Please learn how to cross-post:
        >
        How to Post to more than one group:http://en.wikipedia.org/wiki/Crossposting
        I posted to this to two groups, not sure what you mean.

        Comment

        • Joff

          #5
          Re: Advanced PHP Debugger

          I know this may seem like a silly response but have you double checked
          your code and made sure there are no errors in that...

          If that fails try removing apache and addons and then start again, I
          had a similar problem trying to get ioncube to work but a reinstall of
          apache fixed it

          Comment

          • Twayne

            #6
            Re: Advanced PHP Debugger

            On Jul 6, 5:39 pm, "TWayne" <nob...@devnull .spamcop.netwro te:
            >>Hey everyone!
            >>
            >>First thanks to those of you that try and help me with my problem
            >>here. Okay, now on to the issue at hand.
            >>
            >>My setup is as follows:
            >>• OS: Ubuntu Gutsy (6.3)
            >>• PHP: 5.2.3 as an Apache2 handler.
            >>
            >>Okay, I've intalled the APD extension by pecl install apd and also
            >>by downloading the source and compiling, neither working.
            >>
            >>According to phpinfo() the extension is installed and the Zend
            >>engine is showing that it contains the debugger, but everytime I
            >>try to run my script and I throw in the trace function
            >>(apd_set_ppro f_trace()) I get the following:
            >>
            >>Fatal error: Call to undefined function apd_set_pprof_t race()
            >>
            >>Any help is much appreciated!
            >>
            >Please learn how to cross-post:
            >>
            >How to Post to more than one
            >group:http://en.wikipedia.org/wiki/Crossposting
            >
            I posted to this to two groups, not sure what you mean.
            Hmm, sorry 'bout that. Apparently I had a server burp or something -
            Jerry said you did crosspost and your headers show crosspost now too, so
            .... what can I say?

            Sorry.

            Cheers,

            Twayne



            Comment

            • John Barker

              #7
              Re: Advanced PHP Debugger

              On Jul 7, 3:32 am, Joff <Jonathan.Benne ...@gmail.comwr ote:
              I know this may seem like a silly response but have you double checked
              your code and made sure there are no errors in that...
              >
              If that fails try removing apache and addons and then start again, I
              had a similar problem trying to get ioncube to work but a reinstall of
              apache fixed it
              Well, for debugging purposed I have made the script as simple as I can
              possibly get by simply just including the apd_set_pprof_t race()
              function simply followed by a echo 'test';

              I haven't tried rebuilding Apache so I may try that next, but for some
              reason I have a sense that it won't work. I have read elsewhere that
              APD has been kind of buggy with PHP5, but the most recent release of
              APD was supposed to fix this. Hrmm. Thanks for the replies guys!

              @Twayne - No worries!

              Cheers,
              John

              Comment

              • Piotr

                #8
                Re: Advanced PHP Debugger

                jabarker1@gmail .com wrote:
                Hey everyone!
                >
                First thanks to those of you that try and help me with my problem
                here. Okay, now on to the issue at hand.
                >
                My setup is as follows:
                � OS: Ubuntu Gutsy (6.3)
                � PHP: 5.2.3 as an Apache2 handler.
                >
                Okay, I've intalled the APD extension by pecl install apd and also by
                downloading the source and compiling, neither working.
                >
                According to phpinfo() the extension is installed and the Zend engine
                is showing that it contains the debugger, but everytime I try to run
                my script and I throw in the trace function (apd_set_pprof_ trace()) I
                get the following:
                >
                Fatal error: Call to undefined function apd_set_pprof_t race()
                >
                Any help is much appreciated!
                Ok, I know this is not the a proper answer to your question,
                but both Xdebug and ZendDebugger are more mature and have greater user
                base. So maybe it will be better to use one of those.
                ADP is not actively developed, last version is almost 4 years old
                (according to pecl).
                You can install xdebug with pecl installer. you are also likely to find
                that best php IDEs support xdebug or zenddebugger (or both).

                best regards
                Piotr N

                Comment

                Working...