Posted by Oliver Grδtz on 12/04/07 02:01
Adeel schrieb:
> I am new to php. i have installed the PDT all in one package and then
> i installed the zend debugger plugin for PDT. Every thing is running
> fine and i am able to debug the single php page using zend debugger.
> However, i want to know how i can configure it to debug the whole
> project. I mean i need to debug all files at one time not single file.
I don't know if I understand your problem. The "usual" PHP application
is a web application, and those are "usually" executed by requesting a
page like "index.php" with some parameters (or soind rwerite magic and
redirecting another request to index.php). If your application is NOT
one of those then stop reading now. *g*
If it is, then you need a remote (server-side) debugger. The free Zend
debugger is just an executable debugger that does not call your script
like a web application would be called. This debugger is suited for
command line PHP applications. The web server debugger is commercial.
Fortunately there is a free alternative called "XDebug" which is
supported by PDT. You can download it and install it as a PHP module on
the server where you want to test your web app (for example XAMPP as a
development server on a Windows box). Using XDebug you can call any site
in the browser and the request will be intercepted and you can debug the
request over its full length, no matter what files are included.
OLLi
--
Mal: "Which one you figure tracked us?"
Zoe: "The ugly one, sir."
Mal: "Could you be more specific?"
[firefly 08]
[Back to original message]
|