XDebug ignores my breakpoints [message #718885] |
Thu, 25 August 2011 10:52  |
Eclipse User |
|
|
|
hi, i have a problem debugging with XDebug.
i'm using XAMPP and everything was working fine, then i had to upgrade xampp since i needed the current php version.
after that, everything blow up.
i can debug using xdebug_break(), and this is the my xdebug log
Log opened at 2011-08-25 14:44:01
-> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///J:/xampp/htdocs/1.7/index.php" language="PHP" protocol_version="1.0" appid="4776" idekey="ECLIPSE_DBGP"><engine version="2.1.0rc1"><![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 575 -n show_hidden -v 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="575" feature="show_hidden" success="1"></response>
<- feature_set -i 576 -n max_depth -v 3
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="576" feature="max_depth" success="1"></response>
<- feature_set -i 577 -n max_children -v 31
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="577" feature="max_children" success="1"></response>
<- feature_get -i 578 -n encoding
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get" transaction_id="578" feature_name="encoding" supported="1"><![CDATA[iso-8859-1]]></response>
<- feature_get -i 579 -n supports_async
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get" transaction_id="579" feature_name="supports_async" supported="1"><![CDATA[0]]></response>
<- stdout -i 580 -c 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stdout" transaction_id="580" success="1"></response>
<- stderr -i 581 -c 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stderr" transaction_id="581" success="0"></response>
<- breakpoint_set -i 582 -t line -f file:///J:%5Cxampp%5Chtdocs%5C1.7%5Cadministrator%5Ccomponents%5Ccom_jdomus%5Chelpers%5Chelper.security.php -n 21
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="582" id="47760001"></response>
<- run -i 583
-> <stream xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" type="stdout" encoding="base64"><![CDATA[
.... cutted stream part. if you need that i'll repost asap ....
]]></stream>
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run" transaction_id="583" status="stopping" reason="ok"></response>
<- stop -i 584
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stop" transaction_id="584" status="stopped" reason="ok"></response>
Log closed at 2011-08-25 14:44:01
this is my php.ini
zend_extension = "J:\xampp\php\ext\php_xdebug.dll"
xdebug.remote_log="c:\temp\xdebug.log"
xdebug.remote_autostart=off
xdebug.remote_enable=1
xdebug.remote_host=localhost
xdebug.remote_port=10000
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.profiler_enable=1
xdebug.profiler_output_dir="J:\xampp\tmp"
i'm on windows 7 pro, with php 5.3.5.
as i stated before, everything was working fine!!
any help, please?
[Updated on: Thu, 25 August 2011 10:52] by Moderator
|
|
|
|
|
|
Re: XDebug ignores my breakpoints [message #991223 is a reply to message #986061] |
Mon, 17 December 2012 15:53  |
Eclipse User |
|
|
|
I faced similar issue as well, When I update my local copy of php from php 5.2 to 5.3, even though I changed the setting for xdebug in php.ini it wouldn't work. After numerous tries I gave up. Hopefully I'm going to do a fresh install soon..
|
|
|
Powered by
FUDForum. Page generated in 0.04356 seconds