Greetings.
I've been having trouble getting netbeans, xdebug and php5.3 working
I used to have it working with php 5.2* and xdebug 2.0.4... but it's
just not working now.
The debugger breaks if I use xdebug_break(), but it won't break on a
breakpoint set from the ide, nor will it break on first line...
This is a sample debug from a page that contains <?php phpinfo(); ?> from
Log opened at 2009-11-04 22:36:05
-> <init xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
fileuri="file:///www/staff/{sanitized}/root/info.php" language="PHP"
protocol_version="1.0" appid="10850" idekey="freman"><engine
version="2.0.5"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick
Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright
(c) 2002-2009 by Derick Rethans]]></copyright></init>
<- feature_set -i 32 -n show_hidden -v 1
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
transaction_id="32" feature="show_hidden" success="1"></response>
<- feature_set -i 33 -n max_depth -v 3
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
transaction_id="33" feature="max_depth" success="1"></response>
<- feature_set -i 34 -n max_children -v 31
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
transaction_id="34" feature="max_children" success="1"></response>
<- feature_get -i 35 -n max_data
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
transaction_id="35" feature_name="max_data"
supported="1"><![CDATA[1024]]></response>
<- breakpoint_set -i 36 -t line -s enabled -f
file:///www/staff/{sanitized}/include/classes/Decimal.php -n 82
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
transaction_id="36" state="enabled" id="108500005"></response>
<- breakpoint_set -i 37 -t line -s enabled -f
file:///www/staff/{sanitized}/root/index.php -n 8
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
transaction_id="37" state="enabled" id="108500006"></response>
<- step_into -i 38
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_into"
transaction_id="38" status="stopping" reason="ok"></response>
Log closed at 2009-11-04 22:36:05
The only real difference I can see between this log and one made on the
old version of php is that last line where it says "step_into"
"stopping" - Example from a working trace with break on first line
<- step_into -i 8
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_into"
transaction_id="8" status="break" reason="ok"><xdebug:message
filename="file:///www/staff/{sanitized}/root/info.php"
lineno="2"></xdebug:message></response>
So in this version it's not only setting status to break (not stopping)
but it's sending the file...
Little help?
Regards
Shannon
Received on Thu Nov 05 2009 - 00:26:10 GMT
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST