Re: APD generates no output
| From: | Gustavo Narea | Date: | Tue, 07 Feb 2006 13:44:06 +0000 |
| Subject: | Re: APD generates no output | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-230042@lists.php.net to get a copy of this message | ||
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:-- Gustavo Narea. PHP Documentation - Spanish Translation Team. Valencia, Venezuela.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 runningyou 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)pear install APDwith 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?6.- When I open the file generated by APD, I realize it's empty. 7.- Anyway, I runjust 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.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.TIA! Cheers.