473,387 Members | 1,590 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,387 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 4931

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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...

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.