Connecting Tech Pros Worldwide Help | Site Map

Advanced PHP Debugger

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 7th, 2008, 12:25 AM
jabarker1@gmail.com
Guest
 
Posts: n/a
Default 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_trace()

Any help is much appreciated!

  #2  
Old July 7th, 2008, 12:45 AM
TWayne
Guest
 
Posts: n/a
Default Re: Advanced PHP Debugger

Hey everyone!
Quote:
>
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_trace()
>
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



  #3  
Old July 7th, 2008, 12:55 AM
Jerry Stuckle
Guest
 
Posts: n/a
Default Re: Advanced PHP Debugger

TWayne wrote:
Quote:
Quote:
>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_trace()
>>
>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
>
>
>
>
He did crosspost.

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

  #4  
Old July 7th, 2008, 01:05 AM
jabarker1@gmail.com
Guest
 
Posts: n/a
Default Re: Advanced PHP Debugger

On Jul 6, 5:39*pm, "TWayne" <nob...@devnull.spamcop.netwrote:
Quote:
Quote:
Hey everyone!
>
Quote:
First thanks to those of you that try and help me with my problem
here. Okay, now on to the issue at hand.
>
Quote:
My setup is as follows:
*• OS: Ubuntu Gutsy (6.3)
*• PHP: 5.2.3 as an Apache2 handler.
>
Quote:
Okay, I've intalled the APD extension by pecl install apd and also by
downloading the source and compiling, neither working.
>
Quote:
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:
>
Quote:
Fatal error: Call to undefined function apd_set_pprof_trace()
>
Quote:
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.
  #5  
Old July 7th, 2008, 10:35 AM
Joff
Guest
 
Posts: n/a
Default 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
  #6  
Old July 7th, 2008, 11:05 AM
Twayne
Guest
 
Posts: n/a
Default Re: Advanced PHP Debugger

On Jul 6, 5:39 pm, "TWayne" <nob...@devnull.spamcop.netwrote:
Quote:
Quote:
Quote:
>>Hey everyone!
>>
Quote:
>>First thanks to those of you that try and help me with my problem
>>here. Okay, now on to the issue at hand.
>>
Quote:
>>My setup is as follows:
>>• OS: Ubuntu Gutsy (6.3)
>>• PHP: 5.2.3 as an Apache2 handler.
>>
Quote:
>>Okay, I've intalled the APD extension by pecl install apd and also
>>by downloading the source and compiling, neither working.
>>
Quote:
>>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:
>>
Quote:
>>Fatal error: Call to undefined function apd_set_pprof_trace()
>>
Quote:
>>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



  #7  
Old July 7th, 2008, 08:05 PM
John Barker
Guest
 
Posts: n/a
Default Re: Advanced PHP Debugger

On Jul 7, 3:32*am, Joff <Jonathan.Benne...@gmail.comwrote:
Quote:
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_trace()
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
  #8  
Old July 8th, 2008, 01:55 PM
Piotr
Guest
 
Posts: n/a
Default Re: Advanced PHP Debugger

jabarker1@gmail.com wrote:
Quote:
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_trace()
>
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
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.