|
Re: problem with PDT + XDebug [message #555065 is a reply to message #555051] |
Wed, 25 August 2010 10:44 |
Eclipse User |
|
|
|
Originally posted by: dkel50.hotremovemail.com
your remote_host entry doesn't look right, set it to
xdebug.remote_host="127.0.0.1"
Dave
On 25/08/2010 10:59, KEMET wrote:
> Hello everybody,
>
> i use Eclipse PDT (3.6) with XDebug (2.0.5) + WAMPSERVER 2 (with PHP 5.3).
>
> XDebug seems to be installed correctly (verify by PhpInfo()).
>
> PROBLEM :
> When i put a breakpoint in my PHP code, it doesn't stop : it goes on to
> the end of the code !
>
> The log file is not created too.
>
> and the xdebug_break() function doesn't work either.
>
> *** the port used is "8080" (the port "80" is already used by a IIS
> server).
>
> i am in localhost.
>
> my php.ini file :
>
> zend_extension="C:/wamp/bin/php/php5.3.0/ext/php_xdebug.dll "
> xdebug.remote_enable=true
> xdebug.remote_host="127.0.0.1:8080"
> xdebug.remote_port=9000
> xdebug.remote_handler="dbgp"
> xdebug.remote_log="C:/wamp/www/gecko/xdebug.log"
> xdebug.remote_mode=req
> xdebug.remote_idekey="ECLIPSE_DBGP"
>
> xdebug.remote_autostart = 1
> xdebug.profiler_enable_trigger=1
>
> xdebug.profiler_enable = 1
> xdebug.profiler_output_dir = "c:/wamp/tmp/"
>
> xdebug.collect_params = On
> xdebug.show_local_vars = On
>
> Can you help me please.
>
> Thanks for advance.
>
|
|
|
|
Re: problem with PDT + XDebug [message #555099 is a reply to message #555084] |
Wed, 25 August 2010 12:39 |
Eclipse User |
|
|
|
Originally posted by: dkel50.hotremovemail.com
Several, what are the names of the files having breakpoints set in the
xdebug log file ? Do they match real physical files on your machine. If
not then the problem is with your path mapping setup.
If all looks ok, try deleting all breakpoints and recreating them. There
is a problem where workspaces from 2.1 don't correctly get persisted so
PDT 2.2 has problems.
Dave Kelsey
On 25/08/2010 13:13, KEMET wrote:
> Thanks you.
>
> There was indeed effectively a error in xdebug.hote_remote.
>
> xdebug.remote_host="127.0.0.1"
>
> 2 for 3 problem were resolved :
>
> - xdebug_break() function works well
> - the log file was created too.
>
> There is always the problem with the breakpoints with Eclipse.
>
> They don't work !
>
> a idea ?
>
>
|
|
|
|
Re: problem with PDT + XDebug [message #555108 is a reply to message #555106] |
Wed, 25 August 2010 13:26 |
Eclipse User |
|
|
|
Originally posted by: dkel50.hotremovemail.com
Could you post your log file ?
Dave
On 25/08/2010 14:22, KEMET wrote:
> The mapping (server <-> physical files) seems to be correct.
>
> after deleting and recreating breakpoints, the problem persists.
>
> so it is not possible for the moment (bug eclipse) to use breakpoints
> from eclipse ?
>
> We have to content ourselves of xdebug-break() function !
>
>
|
|
|
|
Re: problem with PDT + XDebug [message #555124 is a reply to message #555109] |
Wed, 25 August 2010 13:54 |
Eclipse User |
|
|
|
Originally posted by: dkel50.hotremovemail.com
Your path mapping is incorrect
file:///http://localhost:8080/gecko/index.php
is not a valid definition of a real file. It should be
file:///C:/wamp/www/gecko/index.php
Delete your path mapping entry for your server should resolve the problem
Dave
On 25/08/2010 14:31, KEMET wrote:
> Log opened at 2010-08-25 13:28:51
> -> <init xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
> fileuri="file:///C:/wamp/www/gecko/index.php" language="PHP"
> protocol_version="1.0" appid="2400" idekey="ECLIPSE_DBGP"><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 113 -n show_hidden -v 1
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="113" feature="show_hidden" success="1"></response>
>
> <- feature_set -i 114 -n max_depth -v 3
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="114" feature="max_depth" success="1"></response>
>
> <- stack_get -i 115
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get"
> transaction_id="115"></response>
>
> <- feature_set -i 116 -n max_children -v 31
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="116" feature="max_children" success="1"></response>
>
> <- feature_get -i 117 -n encoding
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="117" feature_name="encoding"
> supported="1"><![CDATA[iso-8859-1]]></response>
>
> <- feature_get -i 118 -n supports_async
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="118" feature_name="supports_async"
> supported="1"><![CDATA[0]]></response>
>
> <- stdout -i 119 -c 1
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stdout"
> transaction_id="119" success="1"></response>
>
> <- stderr -i 120 -c 1
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stderr"
> transaction_id="120" success="0"></response>
>
> <- breakpoint_set -i 121 -t line -f
> file:///http://localhost:8080/gecko/index.php -n 8
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
> transaction_id="121" id="24000020"></response>
>
> <- breakpoint_set -i 122 -t line -f
> file:///http://localhost:8080/gecko/index.php -n 8
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
> transaction_id="122" id="24000021"></response>
>
> <- run -i 123
> -> <stream xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" type="stdout"
> encoding="base64"><
> ![CDATA[PGh0bWw+CjxoZWFkPgogIDx0aXRsZT54ZGVidWcgdGVzdDwvdGl0
> bGU+CjwvaGVhZD4KPGJvZHk+Cg==]] ></stream>
>
> -> <stream xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" type="stdout"
> encoding="base64"><![CDATA[ZGRkZGRkZGRkZGQx]]></stream>
>
> -> <stream xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" type="stdout"
> encoding="base64"><![CDATA[ZGRkZGRkZGRkZGQy]]></stream>
>
> -> <stream xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" type="stdout"
> encoding="base64"><![CDATA[PC9ib2R5Pgo8L2h0bWw+IAo=]]></stream >
>
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run"
> transaction_id="123" status="stopping" reason="ok"></response>
>
> <- stop -i 124
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stop"
> transaction_id="124" status="stopped" reason="ok"></response>
>
> Log closed at 2010-08-25 13:28:51
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.05337 seconds