FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Using a debugger with PHP
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Using a debugger with PHP [message #170842] Wed, 01 December 2010 17:59 Go to next message
August Karlstrom is currently offline  August Karlstrom
Messages: 16
Registered: October 2010
Karma: 0
Junior Member
Have anyone successfully installed the PHP debugger APD with PHP 5.3?
When I try to install APD with the command `sudo pecl install apd' I get
the following error message:

/build/buildd/php5-5.3.2/pear-build-download/apd-1.0.1/php_apd.c:967:
error: ‘struct _zend_compiler_globals’ has no member named ‘extended_info’

Any ideas? Is there any other debugger I should try instead? I'm using
Ubuntu 10.04 by the way.


Regards,

August

--
The competent programmer is fully aware of the limited size of his own
skull. He therefore approaches his task with full humility, and avoids
clever tricks like the plague. --Edsger Dijkstra
Re: Using a debugger with PHP [message #170844 is a reply to message #170842] Thu, 02 December 2010 08:04 Go to previous messageGo to next message
Adam Harvey is currently offline  Adam Harvey
Messages: 25
Registered: September 2010
Karma: 0
Junior Member
On Wed, 01 Dec 2010 18:59:18 +0100, August Karlstrom wrote:
> Any ideas? Is there any other debugger I should try instead? I'm using
> Ubuntu 10.04 by the way.

XDebug[0] tends to be the standard answer for people needing interactive
debugging. There's a list of frontends that can connect to it in the
XDebug manual[1], and Ubuntu has a php5-xdebug package you can install
without needing to compile, if you're using their pre-packaged PHP.

Adam

[0] http://xdebug.org/
[1] http://xdebug.org/docs/remote
Re: Using a debugger with PHP [message #170849 is a reply to message #170844] Thu, 02 December 2010 14:59 Go to previous message
August Karlstrom is currently offline  August Karlstrom
Messages: 16
Registered: October 2010
Karma: 0
Junior Member
On 2010-12-02 09:04, Adam Harvey wrote:
> XDebug[0] tends to be the standard answer for people needing interactive
> debugging. There's a list of frontends that can connect to it in the
> XDebug manual[1], and Ubuntu has a php5-xdebug package you can install
> without needing to compile, if you're using their pre-packaged PHP.
>
> Adam
>
> [0] http://xdebug.org/
> [1] http://xdebug.org/docs/remote

Thanks for the tip. I have installed and configured Xdebug but
apparently the command line client debugclient is not included in the
package php5-xdebug (it is also said to be obsolete). The Firefox plugin
"easy Xdebug" is also designed to be used with Netbeans which I don't
use. Do you know if there is any other freestanding client? Or can I use
Xdebug with GDB?


Regards,
August

--
The competent programmer is fully aware of the limited size of his own
skull. He therefore approaches his task with full humility, and avoids
clever tricks like the plague. --Edsger Dijkstra
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Create an RTF table
Next Topic: Evaluating an expression
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 19:48:31 GMT 2024

Total time taken to generate the page: 0.02077 seconds