xdebug woes [message #846056] |
Sun, 15 April 2012 14:11  |
Eclipse User |
|
|
|
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?
|
|
|
|
|
Re: xdebug woes [message #847396 is a reply to message #847362] |
Tue, 17 April 2012 05:01  |
Eclipse User |
|
|
|
Toshihiro Izumi wrote on Tue, 17 April 2012 04:24Try googling "unexpected termination of script,debugging ended".
BTW,
>Where is Eclipse/Xdebug getting this non existant url from?
Try googling "domain guesiing".
It seems to be a long standing bug in either PDT or Xdebug.
I wonder if its related to the debugger trying to read Private or Protected class variables and failing in some way?
I submitted a bug report.
|
|
|
Powered by
FUDForum. Page generated in 0.08572 seconds