Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Problems with Eclipse PDT +XDebug
Problems with Eclipse PDT +XDebug [message #79109] Fri, 29 August 2008 07:34 Go to next message
Eclipse UserFriend
Originally posted by: eclipseREMOVE_INSERTED.galacticmagInserted.com

Hi everyone!

I am trying to set up Eclipse PDT + XDebug on Windows XP for 2 days now
and I just run out of ideas.

I set the breakpoints, Xdebug does connect to eclipse (I know from
XDebug's log), but it does not break and the script gets executed to the
end (the script is a siple phpinfo and few other lines).

I'm using Xampp with Apache HTTPD 2.2.9, PHP 5.2.6 all on the same WinXP
machine

Xdebug.. i tried 2.0.3 and 2.1.0 and eclipse PDT Version: 3.3.2
Build id: M20080221-1800 ... and few other versions and combinations.

Anyway here is the xdebug.log. It has 3 sessions. First 2 sessions are
with 2 breakpoints. First session is with 'break on first line' UNchecked,
second with checked, and last session is that I just hit reload in browser.

What is suspicious to me is that command in xdebug.log:
<- stop -i 28

comming from eclipse. Is that normal?

xdebug.log:
Log opened at 2008-08-29 06:47:33
-> <init xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
fileuri="file:///C:/prog/joomladev/xampp/htdocs/str.php" language="PHP"
protocol_version="1.0" appid="2880" idekey="ECLIPSE_DBGP"><engine
version="2.1.0-dev"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick
Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright
(c) 2002-2007 by Derick Rethans]]></copyright></init>

<- feature_set -i 20 -n show_hidden -v 1
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
transaction_id="20" feature="show_hidden" success="1"></response>

<- feature_set -i 21 -n max_depth -v 3
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
transaction_id="21" feature="max_depth" success="1"></response>

<- feature_get -i 22 -n max_children
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
transaction_id="22" feature_name="max_children"
supported="1"><![CDATA[32]]></response>

<- feature_get -i 23 -n encoding
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
transaction_id="23" feature_name="encoding"
supported="1"><![CDATA[iso-8859-1]]></response>

<- feature_get -i 24 -n supports_async
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
transaction_id="24" feature_name="supports_async"
supported="1"><![CDATA[0]]></response>

<- breakpoint_set -i 25 -t line -f
file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 4
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
transaction_id="25" id="28800001"></response>

<- breakpoint_set -i 26 -t line -f
file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 3
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
transaction_id="26" id="28800002"></response>

<- run -i 27
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run" transaction_id="27"
status="stopping" reason="ok"></response>

<- stop -i 28
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stop"
transaction_id="28" status="stopped" reason="ok"></response>

Log closed at 2008-08-29 06:47:33

Log opened at 2008-08-29 06:49:45
-> <init xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
fileuri="file:///C:/prog/joomladev/xampp/htdocs/str.php" language="PHP"
protocol_version="1.0" appid="2880" idekey="ECLIPSE_DBGP"><engine
version="2.1.0-dev"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick
Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright
(c) 2002-2007 by Derick Rethans]]></copyright></init>

<- feature_set -i 29 -n show_hidden -v 1
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
transaction_id="29" feature="show_hidden" success="1"></response>

<- feature_set -i 30 -n max_depth -v 3
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
transaction_id="30" feature="max_depth" success="1"></response>

<- feature_get -i 31 -n max_children
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
transaction_id="31" feature_name="max_children"
supported="1"><![CDATA[32]]></response>

<- feature_get -i 32 -n encoding
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
transaction_id="32" feature_name="encoding"
supported="1"><![CDATA[iso-8859-1]]></response>

<- feature_get -i 33 -n supports_async
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
transaction_id="33" feature_name="supports_async"
supported="1"><![CDATA[0]]></response>

<- breakpoint_set -i 34 -t line -f
file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 4
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
transaction_id="34" id="28800001"></response>

<- breakpoint_set -i 35 -t line -f
file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 3
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
transaction_id="35" id="28800002"></response>

<- run -i 36
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run" transaction_id="36"
status="stopping" reason="ok"></response>

<- stop -i 37
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stop"
transaction_id="37" status="stopped" reason="ok"></response>

Log closed at 2008-08-29 06:49:46

Log opened at 2008-08-29 06:50:29
-> <init xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
fileuri="file:///C:/prog/joomladev/xampp/htdocs/str.php" language="PHP"
protocol_version="1.0" appid="2880" idekey="ECLIPSE_DBGP"><engine
version="2.1.0-dev"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick
Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright
(c) 2002-2007 by Derick Rethans]]></copyright></init>

<- feature_set -i 38 -n show_hidden -v 1
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
transaction_id="38" feature="show_hidden" success="1"></response>

<- feature_set -i 39 -n max_depth -v 3
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
transaction_id="39" feature="max_depth" success="1"></response>

<- feature_get -i 40 -n max_children
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
transaction_id="40" feature_name="max_children"
supported="1"><![CDATA[32]]></response>

<- feature_get -i 41 -n encoding
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
transaction_id="41" feature_name="encoding"
supported="1"><![CDATA[iso-8859-1]]></response>

<- feature_get -i 42 -n supports_async
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
transaction_id="42" feature_name="supports_async"
supported="1"><![CDATA[0]]></response>

<- breakpoint_set -i 43 -t line -f
file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 3
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
transaction_id="43" id="28800003"></response>

<- breakpoint_set -i 44 -t line -f
file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 8
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
transaction_id="44" id="28800004"></response>

<- run -i 45
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run" transaction_id="45"
status="stopping" reason="ok"></response>

<- stop -i 46
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stop"
transaction_id="46" status="stopped" reason="ok"></response>

Log closed at 2008-08-29 06:50:29

Log opened at 2008-08-29 06:52:10
-> <init xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
fileuri="file:///C:/prog/joomladev/xampp/htdocs/str.php" language="PHP"
protocol_version="1.0" appid="2880" idekey="ECLIPSE_DBGP"><engine
version="2.1.0-dev"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick
Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright
(c) 2002-2007 by Derick Rethans]]></copyright></init>

<- feature_set -i 47 -n show_hidden -v 1
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
transaction_id="47" feature="show_hidden" success="1"></response>

<- feature_set -i 48 -n max_depth -v 3
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
transaction_id="48" feature="max_depth" success="1"></response>

<- feature_get -i 49 -n max_children
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
transaction_id="49" feature_name="max_children"
supported="1"><![CDATA[32]]></response>

<- feature_get -i 50 -n encoding
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
transaction_id="50" feature_name="encoding"
supported="1"><![CDATA[iso-8859-1]]></response>

<- feature_get -i 51 -n supports_async
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
transaction_id="51" feature_name="supports_async"
supported="1"><![CDATA[0]]></response>

<- breakpoint_set -i 52 -t line -f
file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 3
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
transaction_id="52" id="28800005"></response>

<- breakpoint_set -i 53 -t line -f
file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 8
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
transaction_id="53" id="28800006"></response>

<- stack_get -i 54
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get"
transaction_id="54"></response>

<- step_into -i 55
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_into"
transaction_id="55" status="stopping" reason="ok"></response>

<- stop -i 56
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stop"
transaction_id="56" status="stopped" reason="ok"></response>

Log closed at 2008-08-29 06:52:10

Log opened at 2008-08-29 06:52:19
-> <init xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
fileuri="file:///C:/prog/joomladev/xampp/htdocs/str.php" language="PHP"
protocol_version="1.0" appid="2880" idekey="ECLIPSE_DBGP"><engine
version="2.1.0-dev"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick
Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright
(c) 2002-2007 by Derick Rethans]]></copyright></init>

-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" status="stopping"
reason="ok"></response>

Log closed at 2008-08-29 06:52:20
Re: Problems with Eclipse PDT +XDebug [message #79125 is a reply to message #79109] Fri, 29 August 2008 09:21 Go to previous messageGo to next message
D Kelsey is currently offline D KelseyFriend
Messages: 232
Registered: July 2009
Senior Member
The log output looks fine, but it looks like xdebug is not stopping at the requested breakpoints.
Two possible causes of this are

1. You have not loaded the xdebug support as a zend extension. You should have an ini entry similar
to 'zend_extension_ts="C:\tools\php525\php_xdebug-2.0.3-5.2.5.dll' and when you run phpinfo you
should see in the header
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Xdebug v2.0.3, Copyright (c) 2002-2007, by Derick Rethans

2. The lines you have set break points on get compiled out by the php engine so don't exist when run
or you have set the breakpoints on blank lines. Try setting the option on launch to break on first
line to see if that works.

Dave Kelsey


Kresimir Cosic wrote:
> Hi everyone!
>
> I am trying to set up Eclipse PDT + XDebug on Windows XP for 2 days now
> and I just run out of ideas.
>
> I set the breakpoints, Xdebug does connect to eclipse (I know from
> XDebug's log), but it does not break and the script gets executed to the
> end (the script is a siple phpinfo and few other lines).
>
> I'm using Xampp with Apache HTTPD 2.2.9, PHP 5.2.6 all on the same WinXP
> machine
>
> Xdebug.. i tried 2.0.3 and 2.1.0 and eclipse PDT Version: 3.3.2
> Build id: M20080221-1800 ... and few other versions and combinations.
>
> Anyway here is the xdebug.log. It has 3 sessions. First 2 sessions are
> with 2 breakpoints. First session is with 'break on first line'
> UNchecked, second with checked, and last session is that I just hit
> reload in browser.
>
> What is suspicious to me is that command in xdebug.log:
> <- stop -i 28
>
> comming from eclipse. Is that normal?
>
> xdebug.log:
> Log opened at 2008-08-29 06:47:33
> -> <init xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
> fileuri="file:///C:/prog/joomladev/xampp/htdocs/str.php" language="PHP"
> protocol_version="1.0" appid="2880" idekey="ECLIPSE_DBGP"><engine
> version="2.1.0-dev"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick
> Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright
> (c) 2002-2007 by Derick Rethans]]></copyright></init>
>
> <- feature_set -i 20 -n show_hidden -v 1
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="20" feature="show_hidden" success="1"></response>
>
> <- feature_set -i 21 -n max_depth -v 3
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="21" feature="max_depth" success="1"></response>
>
> <- feature_get -i 22 -n max_children
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="22" feature_name="max_children"
> supported="1"><![CDATA[32]]></response>
>
> <- feature_get -i 23 -n encoding
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="23" feature_name="encoding"
> supported="1"><![CDATA[iso-8859-1]]></response>
>
> <- feature_get -i 24 -n supports_async
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="24" feature_name="supports_async"
> supported="1"><![CDATA[0]]></response>
>
> <- breakpoint_set -i 25 -t line -f
> file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 4
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
> transaction_id="25" id="28800001"></response>
>
> <- breakpoint_set -i 26 -t line -f
> file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 3
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
> transaction_id="26" id="28800002"></response>
>
> <- run -i 27
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run"
> transaction_id="27" status="stopping" reason="ok"></response>
>
> <- stop -i 28
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stop"
> transaction_id="28" status="stopped" reason="ok"></response>
>
> Log closed at 2008-08-29 06:47:33
>
> Log opened at 2008-08-29 06:49:45
> -> <init xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
> fileuri="file:///C:/prog/joomladev/xampp/htdocs/str.php" language="PHP"
> protocol_version="1.0" appid="2880" idekey="ECLIPSE_DBGP"><engine
> version="2.1.0-dev"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick
> Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright
> (c) 2002-2007 by Derick Rethans]]></copyright></init>
>
> <- feature_set -i 29 -n show_hidden -v 1
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="29" feature="show_hidden" success="1"></response>
>
> <- feature_set -i 30 -n max_depth -v 3
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="30" feature="max_depth" success="1"></response>
>
> <- feature_get -i 31 -n max_children
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="31" feature_name="max_children"
> supported="1"><![CDATA[32]]></response>
>
> <- feature_get -i 32 -n encoding
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="32" feature_name="encoding"
> supported="1"><![CDATA[iso-8859-1]]></response>
>
> <- feature_get -i 33 -n supports_async
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="33" feature_name="supports_async"
> supported="1"><![CDATA[0]]></response>
>
> <- breakpoint_set -i 34 -t line -f
> file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 4
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
> transaction_id="34" id="28800001"></response>
>
> <- breakpoint_set -i 35 -t line -f
> file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 3
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
> transaction_id="35" id="28800002"></response>
>
> <- run -i 36
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run"
> transaction_id="36" status="stopping" reason="ok"></response>
>
> <- stop -i 37
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stop"
> transaction_id="37" status="stopped" reason="ok"></response>
>
> Log closed at 2008-08-29 06:49:46
>
> Log opened at 2008-08-29 06:50:29
> -> <init xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
> fileuri="file:///C:/prog/joomladev/xampp/htdocs/str.php" language="PHP"
> protocol_version="1.0" appid="2880" idekey="ECLIPSE_DBGP"><engine
> version="2.1.0-dev"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick
> Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright
> (c) 2002-2007 by Derick Rethans]]></copyright></init>
>
> <- feature_set -i 38 -n show_hidden -v 1
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="38" feature="show_hidden" success="1"></response>
>
> <- feature_set -i 39 -n max_depth -v 3
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="39" feature="max_depth" success="1"></response>
>
> <- feature_get -i 40 -n max_children
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="40" feature_name="max_children"
> supported="1"><![CDATA[32]]></response>
>
> <- feature_get -i 41 -n encoding
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="41" feature_name="encoding"
> supported="1"><![CDATA[iso-8859-1]]></response>
>
> <- feature_get -i 42 -n supports_async
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="42" feature_name="supports_async"
> supported="1"><![CDATA[0]]></response>
>
> <- breakpoint_set -i 43 -t line -f
> file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 3
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
> transaction_id="43" id="28800003"></response>
>
> <- breakpoint_set -i 44 -t line -f
> file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 8
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
> transaction_id="44" id="28800004"></response>
>
> <- run -i 45
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run"
> transaction_id="45" status="stopping" reason="ok"></response>
>
> <- stop -i 46
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stop"
> transaction_id="46" status="stopped" reason="ok"></response>
>
> Log closed at 2008-08-29 06:50:29
>
> Log opened at 2008-08-29 06:52:10
> -> <init xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
> fileuri="file:///C:/prog/joomladev/xampp/htdocs/str.php" language="PHP"
> protocol_version="1.0" appid="2880" idekey="ECLIPSE_DBGP"><engine
> version="2.1.0-dev"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick
> Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright
> (c) 2002-2007 by Derick Rethans]]></copyright></init>
>
> <- feature_set -i 47 -n show_hidden -v 1
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="47" feature="show_hidden" success="1"></response>
>
> <- feature_set -i 48 -n max_depth -v 3
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="48" feature="max_depth" success="1"></response>
>
> <- feature_get -i 49 -n max_children
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="49" feature_name="max_children"
> supported="1"><![CDATA[32]]></response>
>
> <- feature_get -i 50 -n encoding
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="50" feature_name="encoding"
> supported="1"><![CDATA[iso-8859-1]]></response>
>
> <- feature_get -i 51 -n supports_async
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="51" feature_name="supports_async"
> supported="1"><![CDATA[0]]></response>
>
> <- breakpoint_set -i 52 -t line -f
> file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 3
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
> transaction_id="52" id="28800005"></response>
>
> <- breakpoint_set -i 53 -t line -f
> file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 8
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
> transaction_id="53" id="28800006"></response>
>
> <- stack_get -i 54
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get"
> transaction_id="54"></response>
>
> <- step_into -i 55
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_into"
> transaction_id="55" status="stopping" reason="ok"></response>
>
> <- stop -i 56
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stop"
> transaction_id="56" status="stopped" reason="ok"></response>
>
> Log closed at 2008-08-29 06:52:10
>
> Log opened at 2008-08-29 06:52:19
> -> <init xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
> fileuri="file:///C:/prog/joomladev/xampp/htdocs/str.php" language="PHP"
> protocol_version="1.0" appid="2880" idekey="ECLIPSE_DBGP"><engine
> version="2.1.0-dev"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick
> Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright
> (c) 2002-2007 by Derick Rethans]]></copyright></init>
>
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" status="stopping"
> reason="ok"></response>
>
> Log closed at 2008-08-29 06:52:20
>
>
>
>
Re: Problems with Eclipse PDT +XDebug [message #79489 is a reply to message #79109] Wed, 03 September 2008 20:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dirk.borchers.webmen.de

Hi Kresimir

I have the same problem (WIndowxs XP, XAMPP 1.6.7). Just a small php
script with a breakpoint in line 4:

<?php
$i = 0;
echo "Hello";
$demo = " World";
echo $demo . "<br />";

while ($i <= 10){
echo $i . "<br />";
$i++;
}
?>

phpinfo shows that xdebug is installed properly; I get also the
configured xdebug log:

Log opened at 2008-09-03 20:45:42
-> <init xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
fileuri="file:///C:/xampp/htdocs/test/index.php" language="PHP"
protocol_version="1.0" appid="5000" 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>

<- feature_set -i 69 -n show_hidden -v 1
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
transaction_id="69" feature="show_hidden" success="1"></response>

<- feature_set -i 70 -n max_depth -v 3
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
transaction_id="70" feature="max_depth" success="1"></response>

<- feature_get -i 71 -n max_children
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
transaction_id="71" feature_name="max_children"
supported="1"><![CDATA[32]]></response>

<- feature_get -i 72 -n encoding
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
transaction_id="72" feature_name="encoding"
supported="1"><![CDATA[iso-8859-1]]></response>

<- feature_get -i 73 -n supports_async
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
transaction_id="73" feature_name="supports_async"
supported="1"><![CDATA[0]]></response>

<- breakpoint_set -i 74 -t line -f
file:///C:%5Cxampp%5Chtdocs%5Ctest%5Cindex.php -n 4
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
transaction_id="74" id="50000007"></response>

<- step_into -i 75
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_into"
transaction_id="75" status="stopping" reason="ok"></response>

<- stop -i 76
-> <response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stop"
transaction_id="76" status="stopped" reason="ok"></response>

Log closed at 2008-09-03 20:45:42

Even if I choose "Break at first line" - nothing happens.

Do you have any further ideas? I just can see in phpinfo that the xdebug
sessions end at a totally different time as expected (phpinfo tells
session expires at 21:45 - but the time in xdebug log is 20:45...).
Seems to have to do with the timezones.

Greets,
Dirk

Kresimir Cosic schrieb:
> Hi everyone!
>
> I am trying to set up Eclipse PDT + XDebug on Windows XP for 2 days now
> and I just run out of ideas.
>
> I set the breakpoints, Xdebug does connect to eclipse (I know from
> XDebug's log), but it does not break and the script gets executed to the
> end (the script is a siple phpinfo and few other lines).
>
> I'm using Xampp with Apache HTTPD 2.2.9, PHP 5.2.6 all on the same WinXP
> machine
>
> Xdebug.. i tried 2.0.3 and 2.1.0 and eclipse PDT Version: 3.3.2
> Build id: M20080221-1800 ... and few other versions and combinations.
>
> Anyway here is the xdebug.log. It has 3 sessions. First 2 sessions are
> with 2 breakpoints. First session is with 'break on first line'
> UNchecked, second with checked, and last session is that I just hit
> reload in browser.
>
> What is suspicious to me is that command in xdebug.log:
> <- stop -i 28
>
> comming from eclipse. Is that normal?
>
> xdebug.log:
> Log opened at 2008-08-29 06:47:33
> -> <init xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
> fileuri="file:///C:/prog/joomladev/xampp/htdocs/str.php" language="PHP"
> protocol_version="1.0" appid="2880" idekey="ECLIPSE_DBGP"><engine
> version="2.1.0-dev"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick
> Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright
> (c) 2002-2007 by Derick Rethans]]></copyright></init>
>
> <- feature_set -i 20 -n show_hidden -v 1
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="20" feature="show_hidden" success="1"></response>
>
> <- feature_set -i 21 -n max_depth -v 3
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="21" feature="max_depth" success="1"></response>
>
> <- feature_get -i 22 -n max_children
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="22" feature_name="max_children"
> supported="1"><![CDATA[32]]></response>
>
> <- feature_get -i 23 -n encoding
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="23" feature_name="encoding"
> supported="1"><![CDATA[iso-8859-1]]></response>
>
> <- feature_get -i 24 -n supports_async
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="24" feature_name="supports_async"
> supported="1"><![CDATA[0]]></response>
>
> <- breakpoint_set -i 25 -t line -f
> file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 4
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
> transaction_id="25" id="28800001"></response>
>
> <- breakpoint_set -i 26 -t line -f
> file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 3
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
> transaction_id="26" id="28800002"></response>
>
> <- run -i 27
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run"
> transaction_id="27" status="stopping" reason="ok"></response>
>
> <- stop -i 28
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stop"
> transaction_id="28" status="stopped" reason="ok"></response>
>
> Log closed at 2008-08-29 06:47:33
>
> Log opened at 2008-08-29 06:49:45
> -> <init xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
> fileuri="file:///C:/prog/joomladev/xampp/htdocs/str.php" language="PHP"
> protocol_version="1.0" appid="2880" idekey="ECLIPSE_DBGP"><engine
> version="2.1.0-dev"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick
> Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright
> (c) 2002-2007 by Derick Rethans]]></copyright></init>
>
> <- feature_set -i 29 -n show_hidden -v 1
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="29" feature="show_hidden" success="1"></response>
>
> <- feature_set -i 30 -n max_depth -v 3
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="30" feature="max_depth" success="1"></response>
>
> <- feature_get -i 31 -n max_children
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="31" feature_name="max_children"
> supported="1"><![CDATA[32]]></response>
>
> <- feature_get -i 32 -n encoding
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="32" feature_name="encoding"
> supported="1"><![CDATA[iso-8859-1]]></response>
>
> <- feature_get -i 33 -n supports_async
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="33" feature_name="supports_async"
> supported="1"><![CDATA[0]]></response>
>
> <- breakpoint_set -i 34 -t line -f
> file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 4
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
> transaction_id="34" id="28800001"></response>
>
> <- breakpoint_set -i 35 -t line -f
> file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 3
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
> transaction_id="35" id="28800002"></response>
>
> <- run -i 36
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run"
> transaction_id="36" status="stopping" reason="ok"></response>
>
> <- stop -i 37
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stop"
> transaction_id="37" status="stopped" reason="ok"></response>
>
> Log closed at 2008-08-29 06:49:46
>
> Log opened at 2008-08-29 06:50:29
> -> <init xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
> fileuri="file:///C:/prog/joomladev/xampp/htdocs/str.php" language="PHP"
> protocol_version="1.0" appid="2880" idekey="ECLIPSE_DBGP"><engine
> version="2.1.0-dev"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick
> Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright
> (c) 2002-2007 by Derick Rethans]]></copyright></init>
>
> <- feature_set -i 38 -n show_hidden -v 1
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="38" feature="show_hidden" success="1"></response>
>
> <- feature_set -i 39 -n max_depth -v 3
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="39" feature="max_depth" success="1"></response>
>
> <- feature_get -i 40 -n max_children
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="40" feature_name="max_children"
> supported="1"><![CDATA[32]]></response>
>
> <- feature_get -i 41 -n encoding
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="41" feature_name="encoding"
> supported="1"><![CDATA[iso-8859-1]]></response>
>
> <- feature_get -i 42 -n supports_async
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="42" feature_name="supports_async"
> supported="1"><![CDATA[0]]></response>
>
> <- breakpoint_set -i 43 -t line -f
> file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 3
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
> transaction_id="43" id="28800003"></response>
>
> <- breakpoint_set -i 44 -t line -f
> file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 8
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
> transaction_id="44" id="28800004"></response>
>
> <- run -i 45
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run"
> transaction_id="45" status="stopping" reason="ok"></response>
>
> <- stop -i 46
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stop"
> transaction_id="46" status="stopped" reason="ok"></response>
>
> Log closed at 2008-08-29 06:50:29
>
> Log opened at 2008-08-29 06:52:10
> -> <init xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
> fileuri="file:///C:/prog/joomladev/xampp/htdocs/str.php" language="PHP"
> protocol_version="1.0" appid="2880" idekey="ECLIPSE_DBGP"><engine
> version="2.1.0-dev"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick
> Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright
> (c) 2002-2007 by Derick Rethans]]></copyright></init>
>
> <- feature_set -i 47 -n show_hidden -v 1
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="47" feature="show_hidden" success="1"></response>
>
> <- feature_set -i 48 -n max_depth -v 3
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="48" feature="max_depth" success="1"></response>
>
> <- feature_get -i 49 -n max_children
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="49" feature_name="max_children"
> supported="1"><![CDATA[32]]></response>
>
> <- feature_get -i 50 -n encoding
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="50" feature_name="encoding"
> supported="1"><![CDATA[iso-8859-1]]></response>
>
> <- feature_get -i 51 -n supports_async
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="51" feature_name="supports_async"
> supported="1"><![CDATA[0]]></response>
>
> <- breakpoint_set -i 52 -t line -f
> file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 3
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
> transaction_id="52" id="28800005"></response>
>
> <- breakpoint_set -i 53 -t line -f
> file:///C:%5Cprog%5Cjoomladev%5Cxampp%5Chtdocs%5Cstr.php -n 8
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
> transaction_id="53" id="28800006"></response>
>
> <- stack_get -i 54
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get"
> transaction_id="54"></response>
>
> <- step_into -i 55
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_into"
> transaction_id="55" status="stopping" reason="ok"></response>
>
> <- stop -i 56
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stop"
> transaction_id="56" status="stopped" reason="ok"></response>
>
> Log closed at 2008-08-29 06:52:10
>
> Log opened at 2008-08-29 06:52:19
> -> <init xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
> fileuri="file:///C:/prog/joomladev/xampp/htdocs/str.php" language="PHP"
> protocol_version="1.0" appid="2880" idekey="ECLIPSE_DBGP"><engine
> version="2.1.0-dev"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick
> Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright
> (c) 2002-2007 by Derick Rethans]]></copyright></init>
>
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" status="stopping"
> reason="ok"></response>
>
> Log closed at 2008-08-29 06:52:20
>
>
>
>
Re: Problems with Eclipse PDT +XDebug [message #79505 is a reply to message #79489] Thu, 04 September 2008 07:52 Go to previous message
D Kelsey is currently offline D KelseyFriend
Messages: 232
Registered: July 2009
Senior Member
please check out the faq at
http://www.xdebug.org/docs/faq

there is a reference there to xampp which may help.

Dave Kelsey

Dirk Borchers wrote:
> Hi Kresimir
>
> I have the same problem (WIndowxs XP, XAMPP 1.6.7). Just a small php
> script with a breakpoint in line 4:
>
> <?php
> $i = 0;
> echo "Hello";
> $demo = " World";
> echo $demo . "<br />";
>
> while ($i <= 10){
> echo $i . "<br />";
> $i++;
> }
> ?>
>
> phpinfo shows that xdebug is installed properly; I get also the
> configured xdebug log:
>
> Log opened at 2008-09-03 20:45:42
> -> <init xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
> fileuri="file:///C:/xampp/htdocs/test/index.php" language="PHP"
> protocol_version="1.0" appid="5000" 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>
>
> <- feature_set -i 69 -n show_hidden -v 1
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="69" feature="show_hidden" success="1"></response>
>
> <- feature_set -i 70 -n max_depth -v 3
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set"
> transaction_id="70" feature="max_depth" success="1"></response>
>
> <- feature_get -i 71 -n max_children
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="71" feature_name="max_children"
> supported="1"><![CDATA[32]]></response>
>
> <- feature_get -i 72 -n encoding
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="72" feature_name="encoding"
> supported="1"><![CDATA[iso-8859-1]]></response>
>
> <- feature_get -i 73 -n supports_async
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get"
> transaction_id="73" feature_name="supports_async"
> supported="1"><![CDATA[0]]></response>
>
> <- breakpoint_set -i 74 -t line -f
> file:///C:%5Cxampp%5Chtdocs%5Ctest%5Cindex.php -n 4
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set"
> transaction_id="74" id="50000007"></response>
>
> <- step_into -i 75
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_into"
> transaction_id="75" status="stopping" reason="ok"></response>
>
> <- stop -i 76
> -> <response xmlns="urn:debugger_protocol_v1"
> xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stop"
> transaction_id="76" status="stopped" reason="ok"></response>
>
> Log closed at 2008-09-03 20:45:42
>
> Even if I choose "Break at first line" - nothing happens.
>
> Do you have any further ideas? I just can see in phpinfo that the xdebug
> sessions end at a totally different time as expected (phpinfo tells
> session expires at 21:45 - but the time in xdebug log is 20:45...).
> Seems to have to do with the timezones.
>
> Greets,
> Dirk
>
> Kresimir Cosic schrieb:
Previous Topic:The annoying bin package
Next Topic:PDT - 'An internal error occured during Selection Job titile'
Goto Forum:
  


Current Time: Thu Apr 25 15:59:36 GMT 2024

Powered by FUDForum. Page generated in 0.03270 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top