Re: PDT Zend Debugger



On Dec 4, 7:01 am, Oliver Grätz <oliver.gra...@xxxxxx> wrote:
Adeel schrieb:

I am new to php. i have installed thePDTall in one package and then
i installed thezenddebugger plugin forPDT. Every thing is running
fine and i am able to debug the single php page usingzenddebugger.
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 freeZend
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 byPDT. 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]


Thanks for your advices. I got it configured. Here is the link to the
tutorial.

http://www.thierryb.net/pdtwiki/index.php?title=Using_PDT_:_Installation_:_Installing_the_Zend_Debugger

I am posting it there so that if any one else would like to do it. Its
really a good article.
.



Relevant Pages

  • VB Component debugging as anonymous access
    ... I'd like to debug a VB component without activating Basic/Integrated ... security on the Web Server, ... Thats why I need the debugger so ...
    (microsoft.public.inetserver.asp.components)
  • Re: FreeBSD 7.0 Beta, RC, RELEASE (amd64) freezes with dummynet enabled
    ... I have some screenshots from debug console after the ... [GDB will not be able to debug user-mode threads: ... KDB: enter: manual escape to debugger ... I disabled the polling, for my suprise, the server didn`t crashed after some minutes, but after 1 hour, but crushed, maybe only a coincidence, but maybe not. ...
    (freebsd-current)
  • RE: Debugging failed do to permissions
    ... Windows 2003, .NET, developing server. ... You do not have permissions to debug the ... Verify that you are a member of the debugger users group on the ... > I can manually attach the debugger to the w3wp.exe process and start the ...
    (microsoft.public.dotnet.framework)
  • Re: Debugging failed do to permissions
    ... why can another developer debug from the ... Windows 2003, .NET, developing server. ... Verify that you are a member of the debugger users group on the ...
    (microsoft.public.dotnet.framework)
  • Re: PDT Zend Debugger
    ... fine and i am able to debug the single php page using zend debugger. ...
    (comp.lang.php)