Xdebug stopped breaking breakpoints [message #80212] |
Mon, 15 September 2008 15:58 |
Eclipse User |
|
|
|
Originally posted by: yfreeman.gmail.com
Hello all developers, I'm a long time user of the PDT tools. It is a fantastic set of tool and I depend on it every day to get my work done.
But last night about 11 pm the php debugging perpective stopped breaking at breakpoints. Everything was working fine and then suddenly it stopped.
I did everything from
- reinstalling eclipse + pdt to the lastest 1.0.3 version
- reinstalling the webserver + xdebug 2.0.3
- using different xdebug clients i can communicate with the debugger.
- played with php.ini settings
When i hit the debug button the following happens
- eclipse launces server (19%)
- browser loads up
- page loads
- eclipse kicks into the php debug perspective as if the debugging has ended (no breakpoint breaking)
I set the debugger to break at the first line
clearly the following thing are happening
- xdebug is running fine (I tested bad php pages and got full xdebug niceness)
- eclpse/pdt is receiving response from the debuger (or it would hang as Lauching 19%)
- eclipse/pdt is communicating back
I found that I can log the communication so...
my php.ini config is as follows
[XDebug]
zend_extension_ts="C:\xampp\php\ext\php_xdebug.dll"
xdebug.remote_enable=true
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.profiler_output_dir="C:\xampp\tmp"
xdebug.remote_log = "C:\xampp\xdebug.log"
the log for one debug try is as follows
<log_start>
Log opened at 2008-09-15 15:47:29
-> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///C:/projects/drupal/index.php" language="PHP" protocol_version="1.0" appid="3652" idekey="ECLIPSE_DBGP"><engine version="2.0.3"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2008 by Derick Rethans]]></copyright></init>
<- feature_set -i 67 -n show_hidden -v 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="67" feature="show_hidden" success="1"></response>
<- feature_set -i 68 -n max_depth -v 3
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="68" feature="max_depth" success="1"></response>
<- feature_get -i 69 -n max_children
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get" transaction_id="69" feature_name="max_children" supported="1"><![CDATA[32]]></response>
<- feature_get -i 70 -n encoding
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get" transaction_id="70" feature_name="encoding" supported="1"><![CDATA[iso-8859-1]]></response>
<- feature_get -i 71 -n supports_async
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get" transaction_id="71" feature_name="supports_async" supported="1"><![CDATA[0]]></response>
<- breakpoint_set -i 72 -t line -f file:///C:%5Cprojects%5Cdrupal%5Cindex.php -n 15
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="72" id="36520032"></response>
<- step_into -i 73
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_into" transaction_id="73" status="stopping" reason="ok"></response>
<- stop -i 74
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stop" transaction_id="74" status="stopped" reason="ok"></response>
Log closed at 2008-09-15 15:47:30
</log_end>
the only anomaly that i can see right off the bat is how the filenames are escaped in rawurl encoding. I have no idea how to change this. I scoured the preferences and found nothing, I tried even set the PHP > Debug > Encoding Settings to US-ASCII and same output.
Please excuse the long post, I just wanted to include all the stuff I tried with no luck and what I've found.
Thank you for your help
Joseph Freeman
--------------= Posted using GrabIt =----------------
------= Binary Usenet downloading made easy =---------
-= Get GrabIt for free from http://www.shemes.com/ =-
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03607 seconds