469,623 Members | 1,642 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,623 developers. It's quick & easy.

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 4743

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Devin Brume | last post: by
9 posts views Thread by R. Rajesh Jeba Anbiah | last post: by
3 posts views Thread by R. Rajesh Jeba Anbiah | last post: by
1 post views Thread by pjSoni | last post: by
4 posts views Thread by chonny | last post: by
reply views Thread by hzqij1978 | last post: by
1 post views Thread by R.A.M. | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.