Re: Re: I need Help

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

 



Rolando Titiosky wrote:

> So, Any existing Debug systems do require me to insert external code? We
> Know about xdebug, but we have to alter the Source Code, so is the same as
> making a hand Debug ... We dont need a kind of xdebug because we can do the
> same thing by our hands.

Not necessarily.  There are Xdebug integrations for many IDEs[1], which
do not require to alter the source code in any way, but do allow to walk
through the code during execution.

> We have already a php script that put into all php scripts in a directory,
> a few lines in the beginning and in the end of each source code into the
> directory, to understand the php flow: This script writes a Trace Log in a
> simple text way... But this method alter the Source Code...

To do something before and after the script execution without altering
the source code, you can use the auto_prepend_file[2] resp.
auto_append_file[3] ini.php directives.

[1] <http://xdebug.org/docs/remote#clients>
[2] <http://php.net/manual/en/ini.core.php#ini.auto-prepend-file>
[3] <http://php.net/manual/en/ini.core.php#ini.auto-append-file>

-- 
Christoph M. Becker

-- 
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