On Sun, 2007-07-15 at 19:06 -0700, Stanislav Malyshev wrote: > >> Use any of the debuggers available to step into it and see which > >> function is called. > > Since PHP is invoked by Apache server, how can I hockup gcc with php ? > > is there an easy way to do this ? > > easier way would be to run apache single-process with httpd -X under gdb > or attach to a certain process with gdb -p.
And easiest is to debug with CLI: # gdb --arg php script-to-debug.php :) --Jani -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php