Hello,
Thanks for Xdebug, and I am not sure if this is a Xdebug issue or a
Netbeans issue, but...
I am having the dreaded ignored break point issue.
I am running on Xdebug V2.1.0 and Netbeans 6.9.1 on Win XP/PHP5.28 (I
don't use one of the bundles, I installed everything manually)
I used the handy wizard to get my basic .ini configuration for Xdebug
and then tweeked it per the thousands of posts I have read:
zend_extension_ts = C:\Program Files\PHP\php_xdebug-2.1.0-5.2-vc6.dll
[XDEBUG]
xdebug.remote_enable=On
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
xdebug.idekey="netbeans-xdebug"
xdebug.remote_log="C:\temp\xdebug.log"
It looks good in the PHPInfo (will not paste it for brevity)
It seems to be running as I can halt Netbeans with an xdebug_break() and
then debug as normal
I get beakpoints indicated in the xdebug.log
Log opened at 2010-12-16 17:21:52
-> <init xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
fileuri="file:///C:/Documents%20and%20Settings/user/My%20Documents/%7Etestsite/web/index.php"
language="PHP" protocol_version="1.0" appid="5788"
idekey="netbeans-xdebug"><engine
version="2.1.0"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick
Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright
(c) 2002-2010 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:///testsite/modules/user/user.module -n 2438
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
transaction_id="36" state="enabled" id="57880013"></response>
<- breakpoint_set -i 37 -t line -s enabled -f
file:///testsite/sites/all/themes/testsite/template.php -n 103
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
transaction_id="37" state="enabled" id="57880014"></response>
<- breakpoint_set -i 38 -t line -s enabled -f file:///testsite/index.php
-n 16
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
transaction_id="38" state="enabled" id="57880015"></response>
<- run -i 39
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run"
transaction_id="39" status="stopping" reason="ok"></response>
Log closed at 2010-12-16 17:21:52
I have tried adjusting paths in Netbeans as many people have indicated.
I just cannot get Netbeans to stop on breakpoints!
Well that is not quite true. It did once or twice, but it won't do it
reliably.
As a quick question, am I supposed to have the /ZendExtensionManager/.so
(or .DLL?) loading in my php.ini? (i.e. is it required)
Not only is it not there, but I don't have it available.
Any help would be appreciated.
Thanks,
Josh
Received on Thu Dec 16 2010 - 20:18:17 GMT
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST