473,662 Members | 2,581 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PDT Zend Debugger

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?
Dec 3 '07 #1
3 3868
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 <asgher.ad...@g mail.comwrote:
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?
Dec 3 '07 #2

"Adeel" <as**********@g mail.comwrote in message
news:98******** *************** ***********@b15 g2000hsa.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.
Dec 4 '07 #3
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]
Dec 4 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1499
by: Erik | last post by:
Which PHP version has Zend Engine API 20020429 ? Installing the Zend Server/Debugger gives an error, complaining it is confronted with a ZE API that is too new (20021010). It needs 20020429... I have PHP 4.3.4 installed, but apparently need to down-grade or maybe I need a newer Zend Server... frgr
13
2995
by: AJ | last post by:
Hi all At the moment, I use Dreamweaver to develop the basics of my PHP stuff and then hand tune anything that I need to. I'm now looking at the next level and was wondering about Zend. What I like about DW - from a lazy man's point of view - is that I can click on a button to add loops or user authorisation or all sorts of other things that would take me hours to hand code. Is the same sort of thing available for Zend?
4
2182
by: news | last post by:
I have lines of code that look like this: while ($row2sx = mysql_fetch_array($result2sx)) { Now that's the way I've always learned to create an array from a mySQL querey. I just started trying the Zend Studio (and to be honest, except for the debugger I'm seeing that it has less features than EditPlus.) And the debugger calls all my WHERE() functions bugged because I'm
1
4872
by: Toni | last post by:
I've tried to reinstall the zend environment and debugger on my new computer. I almost succeeded but when I try to debug or profile a webpage by clicking on the buttons on the toolbars I get the following message in my browser: Failed to connect to host '192.168.2.102'. Failed to connect to host '192.168.126.1'. Failed to connect to host '192.168.47.1'. (I've got a network card, Wifi and Bluetooth in the machine)
1
2145
by: Xristos Nikolopoulos | last post by:
Hello, I have made an application that needs to upload files, the application is deployed in several folders, and each folder has its php files. The problem is, I have in the folder I want to upload the php files that do the job and a php.ini file to change limits.
2
4174
by: hairygerman | last post by:
Hi all, I develop my PHP code on a Windows XP box using Eclipse 3.2.2 with the PDT plug-in, and I deploy for testing purposes onto my gateway, which runs PHP 5.2 under debian etch and apache2. I have downloaded the Zend debugger from the zend site, which should allow me to do remote debugging in Eclipse. After modification of the ini files I restart apache and I get this error message: Failed loading...
0
1195
by: Mike | last post by:
Hello, I am looking for a host with Zend Debugger installed. Anyone know any? Thanks Mike
0
2058
by: JoeT | last post by:
Hi... OK...I'm having difficulty understanding a problem with installing Zend Studio 5.5 on an Intel Mac. Prior to the install, I had the zend /library installed, and was able to successfully run Zend_Db commands against a local mysql server (5.1) from the commandline (e.g. php testdb.php). This stuff ran just fine. The code is simply:
0
4950
by: Sean Quinn | last post by:
Hi All, First off let me say that from what I've seen of the XDebug debugger, I'm pretty impressed--it would just be nice if I could actually use it to its full potential in Eclipse. My Environment: - XAMPP 1.6.6a Installation (PHP 5.2.5, Apache 2.2.8, MySQL 5.0.51a) - Eclipse 3.3 w/PDT 1.0.2 - XDebug 2.0.3 for PHP 5.2.5
0
8432
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8857
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8764
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8633
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7367
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6186
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5654
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4347
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2762
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.