XDebug ignores my breakpoints [message #718885] |
Thu, 25 August 2011 14:52  |
Missing name Missing name Messages: 17 Registered: June 2010 |
Junior Member |
|
|
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 14:52] Report message to a moderator
|
|
|
|
Re: XDebug ignores my breakpoints [message #722467 is a reply to message #718891] |
Mon, 05 September 2011 21:23   |
49r Messages: 1 Registered: September 2011 |
Junior Member |
|
|
I'm having what seems to me to be a similar problem. I'm starting from scratch, trying to get Xdebug to work with Eclipse/PHP 5.3. My sysadmin installed PHP 5.3 (had been running 5.2) before I got a chance to try Eclipse/Xdebug with it. I can set breakpoints, but execution just blows right past them. I've done a lot of exploring in webspace and I've tried various things to see if I can get it to work. Thus far, I've had no success, though. I've tried asking (on the U.S. Labor Day holidayl, though) on various IRC channels, including #eclipse and #xdebug (both on freenode), but got no good ideas.
I look forward to seeing what others might suggest here. Thanks in advance!
[Updated on: Mon, 05 September 2011 21:31] Report message to a moderator
|
|
|
|
Re: XDebug ignores my breakpoints [message #991223 is a reply to message #986061] |
Mon, 17 December 2012 20:53  |
|
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.02267 seconds