| xdebug woes [message #846056] |
Sun, 15 April 2012 14:11  |
Alan Chandler Messages: 43 Registered: July 2009 |
Member |
|
|
I am just starting to try and debug a yii framework application running Eclipse on a linux machine.
A few minutes ago, everytime I started a debugging session it work load up the first file of the application (index.php) and I could single step through it. I was serving it at http://yii.home via an apache virtual host. The last line of that file is a call to the yii framework, which is sitting outside of the web space, and as soon as I tried to single step into that call, I would get a message from Eclipse saying the script had terminated.
The web browser was now saying that it was unable to find url http://www.yii.home. This is unsurprising since that url doesn't exist.
Where is Eclipse/Xdebug getting this non existant url from?
However as soon as I started to write this post things have changed. Now when I start the debug run, the whole set of files run to completion without breaking at all (despite the setting for the debugger to break on the first line). I've tried shutting down Eclipse and restarting Apache to get things to start working again, but now they don't and I am getting the symptoms I have seen other people have when they can't get debugging to work.
Any idea where this last change came from?
|
|
|