PDT Zend Debugger
am 03.12.2007 05:28:15 von Adeel
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.
Example could be the dot net debugger the way it moves the debug
control from one file to the other reffered file. Any help please?
Re: PDT Zend Debugger
am 03.12.2007 18:53:29 von zburnham
If you're using server-side debugging (either with the Zend debugger
or xdebug) then you should be able to follow the execution of your
script through whatever files it calls. I have a feeling you're
talking about forms as well; you'll need a server to be able to debug
that stuff. It sounds like you're probably using the internal
debugging.
On Dec 2, 11:28 pm, Adeel wrote:
> 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.
> Example could be the dot net debugger the way it moves the debug
> control from one file to the other reffered file. Any help please?
Re: PDT Zend Debugger
am 04.12.2007 01:31:55 von Bucky Kaufman
"Adeel" wrote in message
news:98a2ac50-9626-4970-a172-4efe23a49a71@b15g2000hsa.google groups.com...
>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.
> Example could be the dot net debugger the way it moves the debug
> control from one file to the other reffered file. Any help please?
After loading all the files you want debugged, into the IDE - go to
Tools|Analyze.
That should debug all those files.
Re: PDT Zend Debugger
am 04.12.2007 03:01:59 von oliver.graetz
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]