473,406 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

XDebug, XDebug Helper, and Zend Framework

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
- Zend Framework 1.5
- Firefox 2.0.x

I have managed to get everything set up so that I can launch a debug
session with XDebug however I'm running into a couple of snags.

1) I cannot seem to initialize a debugging session through the XDebug
Helper plugin for Firfefox because of all things it assigns the
following value to the XDEBUG_SESSION_START cookie, "ECLIPSE_XDEBUG."
Which would be fine if Eclipse assigned the same value, instead
Eclipse is assigning the value "ECLIPSE_DBGP" to the id key. Is there
any way I can get these two to match up. I've tried finding where I
need to change/set this for Eclipse but it seems to ignore any value I
put in the php.ini under xdebug.idkey, furthermore trying to change
the value in XDebug Helper's options doesn't work (theres a box I can
edit the value of the idkey in, but I don't think it actually does
anything).

2) If I have started a debug session from Eclipse I can step through
the bootstrapping fine up through the first dispatch event by the Zend
Framework front controller. After that all of my breakpoints are
ignored despite navigating into a controller/view. Does anyone have
any advice in terms of using XDebug with the Zend Framework? I thought
initially that my rewrite rule might be killing the XDebug session
somehow, but if its a cookie I find that rather hard to believe.

I suppose worst case scenario for debugging purposes I can manually
create the cookie in my bootstrap and persist it if necessary.

Any help would be greatly appreciated! Thank you very much!
Jun 2 '08 #1
0 4934

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

Similar topics

0
by: Devin Brume | last post by:
Have and application that is error free with the exception of a proble with xdebug generating the following errors: xdebug is a MS file, ho do I fix this issue. c:\Program Files\Microsoft...
9
by: R. Rajesh Jeba Anbiah | last post by:
There are some criticism and speculations about Zend PHP Framework <http://www.zend.com/collaboration> <quote src="http://www.loudthinking.com/arc/000544.html"> PHP is a dead language. </quote>...
3
by: R. Rajesh Jeba Anbiah | last post by:
The Zend framework preview release is out <http://framework.zend.com/> and I don't know why such PEAR like (yet another) framework is needed. At the same time, Rasmus' article...
1
by: pjSoni | last post by:
Hi I would like to know from where to start learning zend frame work I need to develop project based on zend framework so what tools of zend framework I should use like db, template handling...
4
by: chonny | last post by:
How to connect and query odbc database with zend framework db?
0
by: hzqij1978 | last post by:
I am a newer of Zend Framework, i write a program to test the speed of Zend Framework, code like this: /var/www/htdocs/index.php <?php require_once 'Zend.php'; require_once...
3
by: Peter Wang | last post by:
Hi, all. I recently encountered a very annoying problem while using Zend Framework(ZF). We use ZF in our web application, and it works fine at the beginning, but later when concurrent...
1
by: R.A.M. | last post by:
Hello, I have installed (in Windows XP) Apache, PHP5, XDebug and Eclipse PDT. Then I configured XDebugging according to:...
2
by: Baldaris | last post by:
Hi, I am using Xampp , I am trying to use zend framework which i have installed from zend website, To use framework i need to save it in library folder right but i am not able to find it. if...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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,...
0
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...

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.