problem debugging with XDebug [message #729421] |
Mon, 26 September 2011 07:00 |
Konstantin Missing name Messages: 7 Registered: September 2011 |
Junior Member |
|
|
Hi all!
I set step breakpoint in file.
Debug configuration - break First line ON
I run debug from Indigo.
FireFox - open my page - OK
In eclipse not stop first line, not stop - my breakpoints.
In what may be the case?
php -v
PHP 5.3.5-1ubuntu7.2 with Suhosin-Patch (cli) (built: May 2 2011 23:18:30)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
my php.ini
zend_extension="/usr/lib/php5/20090626+lfs/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_log="/tmp/xdebug.log"
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_port=9000
xdebug.remote_host=127.0.0.1
xdebug.remote_autostart = off
my xdebug log:
Log opened at 2011-09-26 06:15:58
-> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug=" xdebug.org/dbgp/xdebug" fileuri="file:///home/my/ww_php/file.php" language="PHP" protocol_version="1.0" appid="9026" idekey="ECLIPSE_DBGP"><engine version="2.1.2"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2011 by Derick Rethans]]></copyright></init>
<- feature_set -i 3128 -n show_hidden -v 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="3128" feature="show_hidden" success="1"></response>
<- feature_set -i 3129 -n max_depth -v 3
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="3129" feature="max_depth" success="1"></response>
<- feature_set -i 3130 -n max_children -v 31
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="3130" feature="max_children" success="1"></response>
<- feature_get -i 3131 -n encoding
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="xdebug.org/dbgp/xdebug" command="feature_get" transaction_id="3131" feature_name="encoding" supported="1"><![CDATA[iso-8859-1]]></response>
<- feature_get -i 3132 -n supports_async
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="xdebug.org/dbgp/xdebug" command="feature_get" transaction_id="3132" feature_name="supports_async" supported="1"><![CDATA[0]]></response>
<- stdout -i 3133 -c 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="xdebug.org/dbgp/xdebug" command="stdout" transaction_id="3133" success="1"></response>
<- stderr -i 3134 -c 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="xdebug.org/dbgp/xdebug" command="stderr" transaction_id="3134" success="0"></response>
<- breakpoint_set -i 3135 -t line -f file:///home/my/ww_php/file.php -n 76
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="3135" id="90260037"></response>
<- breakpoint_set -i 3136 -t line -f file:///home/my/ww_php/file.php -n 78
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug=" xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="3136" id="90260038"></response>
<- breakpoint_set -i 3137 -t line -f file:///my/ww_php/file.php -n 79
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug=" xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="3137" id="90260039"></response>
<- step_into -i 3138
-> <stream xmlns="urn:debugger_protocol_v1" xmlns:xdebug=" xdebug.org/dbgp/xdebug" type="stdout" encoding="base64"><![CDATA[PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nd2luZG93cy0xMjUxJz8+PHJvb3QvPg==]]></stream>
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug=" xdebug.org/dbgp/xdebug" command="step_into" transaction_id="3138" status="stopping" reason="ok"></response>
<- stop -i 3139
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug=" xdebug.org/dbgp/xdebug" command="stop" transaction_id="3139" status="stopped" reason="ok"></response>
Log closed at 2011-09-26 06:15:58
I deleted "http:" in log - because it was not saved Topic.
[Updated on: Mon, 26 September 2011 07:19] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04222 seconds