Re: APD generates no output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, Jochem.

Thanks for your response.

I just filled a bug report because I realized there are many bugs like the one I have, specially with PHP v5.0.3.

Cheers!

Jochem Maas wrote:
Gustavo Narea wrote:
Hello everybody.

I'm trying to use the Advanced PHP Debugger (APD), but it generates no output. Actually, It does generate a file, but with no content.

What's going on?

1.- I installed the APD by running `pear install APD` with no problem.
2.- Setup my php.ini file the same way as described in <http://php.net/apd>.
3.- Restarted my web server.
4.- Called the apd_set_pprof_trace() function at the first line of my script. 5.- Loaded the web page. I have error_reporting set to E_ALL and display_errors is enabled, but... PHP doesn't output errors, does it mean that everything was OK?

you would think that wouldn't you! but there is a possibility that
php is crashing and leaving no trace of the event - I have seen it happen
alot (I get the impression what I witnessed is related to the use of
__get()/__set() in php5 objects)

6.- When I open the file generated by APD, I realize it's empty.
7.- Anyway, I run `pprofp -R pprof.<number>.0`, but there's no output (not even an error message).

I was using PHP v5.0.4 and APD worked just fine, but I had to downgrade to PHP v5.0.3 and now I have this problem. In both versions of PHP I was using APD v1.0.1.

The fact that I had downgraded to v5.0.3 has nothing to do with this problem (IMO), as I deleted all of the files in the previous PHP directory prior to install PHP 5.0.3.

just because you have a pristine installation of php5.0.3 doesn't
necessarily mean that:

a, it's not broken.
b, APD actually works with that version.


TIA!

Cheers.

--
Gustavo Narea.
PHP Documentation - Spanish Translation Team.
Valencia, Venezuela.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux