Community
Participate
Working Groups
I've installed PDT 1.03 and xdebug 2.03 and when i try to debug a php file it doesnt stop at breakpoints the xdebug log starts with telleing that te debugged file is: file:///C:/xampp/htdocs/2/index.php but the breakpoint are set in this file: file:///C:%5Cxampp%5Chtdocs%5C2%5Cindex.php '%5C' is a '\' and not a '/' which causes the debugger to not stop at breakpoints.
this is correct behaviour and would not cause any breakpoint issue. If you look at an example log of mine, you see that the initial file is file:///C:/shared/xampp/htdocs/TestProject/phpinfo.php and the breakpoint is set at file:///C:%5Cshared%5Cxampp%5Chtdocs%5CTestProject%5Cphpinfo.php and that it breaks on this line just fine One reason a breakpoint might not work is that PHP compiles out that line and so the line doesn't exist anymore. Have you tried setting up breakpoints on other lines ? --------------------------------------------------------------------------------- Log opened at 2008-07-15 09:26:58 -> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///C:/shared/xampp/htdocs/TestProject/phpinfo.php" language="PHP" protocol_version="1.0" appid="7676" idekey="ECLIPSE_DBGP"><engine version="2.0.3"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2008 by Derick Rethans]]></copyright></init> (Misc info removed) <- breakpoint_set -i 14 -t line -f file:///C:%5Cshared%5Cxampp%5Chtdocs%5CTestProject%5Cphpinfo.php -n 3 -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="14" id="76760003"></response> <- run -i 15 -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run" transaction_id="15" status="break" reason="ok"><xdebug:message filename="file:///C:/shared/xampp/htdocs/TestProject/phpinfo.php" lineno="3"></xdebug:message></response> (other misc info removed) Log closed at 2008-07-15 09:27:02 ---------------------------------------------------------------------------------
this is working as designed. The problem could be a set up issue.
Seems OK to me too - closing [Sylvia]