|
|
|
|
|
|
|
|
|
|
Re: not suspend when debugging with xdebug [message #525301 is a reply to message #524863] |
Mon, 05 April 2010 23:28  |
Eclipse User |
|
|
|
Originally posted by: dkel50.hotremovemail.com
The output shows me that PDT is doing everything correctly. I see a
breakpoint being set on line 4 for c:\wamp\www\testdebug\test.php and I
see that is the initial script being executed. I see it doing a step
into which means it should stop at the first line but doesn't. I also
see a value of 3 being output. Could you post your script just in case I
there is something there that may cause the problem.
I don't know why this isn't working. Did you try adding an
xdebug_break(); line into your code and see if that works ? The only
other thing I can suggest is you try the xdebug mailing list and see if
you can get some help there.
Dave Kelsey
On 03/04/10 05:20, No way wrote:
> thank Dave,
>
> this is log of xdebug:
>
> -> <init xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
> fileuri="file:///C:/wamp/www/testdebug/test.php" language="PHP"
> protocol_version="1.0" appid="2104" session="127002765789012"
> idekey="ECLIPSE_DBGP"><engine
> version="2.1.0rc1-dev"><![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 143 -n show_hidden -v 1
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="143" feature="show_hidden" success="1"></response>
>
> <- feature_set -i 144 -n max_depth -v 3
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="144" feature="max_depth" success="1"></response>
>
> <- feature_set -i 145 -n max_children -v 31
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="145" feature="max_children" success="1"></response>
>
> <- feature_get -i 146 -n encoding
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="146" feature_name="encoding"
> supported="1"><![CDATA[iso-8859-1]]></response>
>
> <- feature_get -i 147 -n supports_async
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="147" feature_name="supports_async"
> supported="1"><![CDATA[0]]></response>
>
> <- stdout -i 148 -c 1
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stdout"
> transaction_id="148" success="1"></response>
>
> <- stderr -i 149 -c 1
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stderr"
> transaction_id="149" success="0"></response>
>
> <- breakpoint_set -i 150 -t line -f
> file:///C:%5Cwamp%5Cwww%5Ctestdebug%5Ctest.php -n 4
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
> transaction_id="150" id="21040001"></response>
>
> <- step_into -i 151
> -> <stream xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" type="stdout"
> encoding="base64"><![CDATA[Mw==]]></stream>
>
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_into"
> transaction_id="151" status="stopping" reason="ok"></response>
>
> <- stop -i 152
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stop"
> transaction_id="152" status="stopped" reason="ok"></response>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04222 seconds