This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
PHP script doesn't do any action when I try to debug it in netbeans with Xdebug. Netbeans successfully handles the connection, xdebug logs shows that connection is established too. But browser is waiting busy. I have tried Netbeans 7.2.1 and 7.4 and xdebug Version v2.1.0,v2.2.3 and v2.3.0dev You can also track the issue on stackoverflow : http://stackoverflow.com/questions/20820270/netbeans-xdebug-is-not-responding and on Xdebug Bug Tracker : http://bugs.xdebug.org/view.php?id=1025 Configuration zend_extension=/usr/lib/php5/20090626/xdebug_ready.so xdebug.remote_host = 127.0.0.1 xdebug.remote_enable = 1 xdebug.remote_port = 9001 xdebug.remote_handler = dbgp xdebug.remote_mode = req xdebug.profiler_enable=0 xdebug.profiler_enable_trigger=1 xdebug.remote_autostart=1 xdebug.idekey="netbeans-xdebug" xdebug.remote_log="/tmp/xdebug.log" Log opened at 2013-12-28 22:43:47 I: Connecting to configured address/port: 127.0.0.1:9001. I: Connected to client. :-) -> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///var/www/pnp/pnpdev/index.php" language="PHP" protocol_version="1.0" appid="22843" idekey="netbeans-xdebug"><engine version="2.3.0dev"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2013 by Derick Rethans]]></copyright></init> <- feature_set -i 267 -n show_hıdden -v 1 -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="267" status="starting" reason="ok"><error code="3"><message><![CDATA[invalid or missing options]]></message></error></response> <- feature_set -i 268 -n max_depth -v 3 -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="268" feature="max_depth" success="1"></response> <- feature_set -i 269 -n max_chıldren -v 30 -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="269" status="starting" reason="ok"><error code="3"><message><![CDATA[invalid or missing options]]></message></error></response> <- feature_set -i 270 -n max_data -v 2048 -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="270" feature="max_data" success="1"></response> <- breakpoint_set -i 271 -t lıne -s enabled -f file:///var/www/pnp/pnpdev/index.php -n 21 -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="271" state="enabled" id="0"></response> <- run -i 272 -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run" transaction_id="272" status="stopping" reason="ok"></response> <- stop -i 273 -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stop" transaction_id="273" status="stopped" reason="ok"></response> Log closed at 2013-12-28 22:44:05
Sorry, I just tried that in the dev build with xdebug 2.2.3 and php 5.5.3-1ubuntu2.1 and everything works properly. "line" sent to xdebug as it should. <- breakpoint_set -i 52 -t line -s enabled -f file:///var Really don't know why your "i" is recoded (and only some of them) to something different. There has to be something wrong with your setup or your system environment. Can you paste here Help -> About tab? Product Version: NetBeans IDE Dev (Build 20140121-bd6d5ec3e03c) Java: 1.7.0_51; Java HotSpot(TM) Client VM 24.51-b03 Runtime: Java(TM) SE Runtime Environment 1.7.0_51-b13 System: Linux version 3.11.0-15-generic running on i386; UTF-8; cs_CZ (nb)
I have tested it with two ides, here is their about tab Product Version: NetBeans IDE 7.2.1 (Build 201210100934) Java: 1.6.0_26; Java HotSpot(TM) 64-Bit Server VM 20.1-b02 System: Linux version 3.0.0-32-generic running on amd64; UTF-8; tr_TR (nb) User directory: /home/kervan/.netbeans/7.2.1 Cache directory: /home/kervan/.cache/netbeans/7.2.1 Product Version: NetBeans IDE 7.4 (Build 201310111528) Updates: NetBeans IDE is updated to version NetBeans 7.4 Patch 2 Java: 1.7.0_21; OpenJDK 64-Bit Server VM 23.7-b01 Runtime: OpenJDK Runtime Environment 1.7.0_21-b02 System: Linux version 3.0.0-32-generic running on amd64; UTF-8; tr_TR (nb) User directory: /home/kervan/.netbeans/7.4 Cache directory: /home/kervan/.cache/netbeans/7.4
So almost the same as me. Really don't know why "i" in commands in your case are replaced. So I'll leave it opened, maybe someone else will be able to discribe it better. Thanks.