xdebug not working [message #63607] |
Wed, 19 December 2007 22:01 |
Eclipse User |
|
|
|
Originally posted by: naoric.gmail.com
Hi,
For some reason, eclipse ignores breakpoints in my code.
when i start the debugging, the page is loaded with these URL:
http://localhost/cooper/php_info.php?XDEBUG_SESSION_START=EC LIPSE_DBGP&KEY=11981012364688
I'm using Wamp Server solution, running PHP 5.2.5
PHP INI:
[xdebug]
xdebug.remote_enable=1
xdebug.remote_host="127.0.0.1"
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
zend_extension_ts="C:\wamp\bin\php\php5.2.5\ext\php_xdebug.dll "
xdebug.remote_log="C:\wamp\bin\apache\apache2.2.6\logs\xdebug.log "
These are the ports eclipse listens to (netstats -a -b output):
TCP atary-2ea14b6f6:9000
[eclipse.exe]
TCP atary-2ea14b6f6:10000
[eclipse.exe]
I can only terminate current session, and when i do that another IE window
is being opened with these URL:
http://localhost/cooper/php_info.php?XDEBUG_SESSION_STOP_NO_ EXEC=ECLIPSE_DBGP&KEY=11981009197656
debugx.log is also attached
Log opened at 2007-12-19 21:33:07
-> <init xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
fileuri="file:///C:/wamp/www/Cooper/php_info.php" language="PHP"
protocol_version="1.0" appid="732" idekey="ECLIPSE_DBGP"><engine
version="2.0.2"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick
Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright
(c) 2002-2007 by Derick Rethans]]></copyright></init>
<- feature_set -i 1 -n show_hidden -v 1
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
transaction_id="1" feature="show_hidden" success="1"></response>
<- feature_set -i 2 -n max_depth -v 3
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
transaction_id="2" feature="max_depth" success="1"></response>
<- feature_get -i 3 -n max_children
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
transaction_id="3" feature_name="max_children"
supported="1"><![CDATA[32]]></response>
<- feature_get -i 4 -n encoding
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
transaction_id="4" feature_name="encoding"
supported="1"><![CDATA[iso-8859-1]]></response>
<- feature_get -i 5 -n supports_async
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
transaction_id="5" feature_name="supports_async"
supported="1"><![CDATA[0]]></response>
<- breakpoint_set -i 6 -t line -f
file:///http://localhost/cooper/php_info.php -n 2
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
transaction_id="6" id="7320001"></response>
<- stack_get -i 7
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get"
transaction_id="7"></response>
<- step_into -i 8
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_into"
transaction_id="8" status="stopped" reason="ok"></response>
Log closed at 2007-12-19 21:33:07
|
|
|
|
Powered by
FUDForum. Page generated in 0.03032 seconds