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.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php