Can't get PHP Web Script with XDebug to hit breakpoints remotely [message #48621] |
Fri, 31 August 2007 18:15  |
Eclipse User |
|
|
|
I'm using XDebug 2 on a Linux server running Apache 2. I can communicate
successfully with the debugclient app from my Windows XP machine.
I then try to run Eclipse 3.3 on my Windows machine w/ all the necessary
packages (pdt-all-in-one-incubation-S20070826_M3-win32.zip), plus the two
jar files from XDebugBinContrib_0.2.3.zip and
org.eclipse.php.xdebug.sampleMapper_0.0.2.jar.
I've configured my Eclipse debug configuration per Dave Kelsey's "XDebug PHP
IDE Guide" (including the HTDoc tab), and set some breakpoints. When I
launch, an IE browser window opens and displays all the expected output,
ignoring the breakpoints. The PHP Debug view shows that the project is
terminated. I've tried different settings on the HTDoc tab, but without
success.
The log output from the server side is as follows:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
Log opened at 2007-08-31 22:01:30
-> <init xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
fileuri="file:///var/local/raas/document_root_apache2/test.php"
language="PHP" protocol_version="1.0" appid="31453"
idekey="ECLIPSE_DBGP"><engine
version="2.0.0"><![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="stopped"
reason="ok"></response>
Log closed at 2007-08-31 22:01:30
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is exactly the same output as I got when I tested debugclient from my
Windows machine.
Is this what I should be seeing if I had no breakpoints? Any idea why I'm
not hitting any breakpoints? Can I turn on any additional logging on the
eclipse client side? Or can I make the server logging more verbose?
Thanks,
Dennis
|
|
|
|
|
Re: Can't get PHP Web Script with XDebug to hit breakpoints remotely [message #48886 is a reply to message #48709] |
Mon, 03 September 2007 12:27  |
Eclipse User |
|
|
|
Hi Dave,
Thanks for the reply. I've now backtracked to M2 + the bugzilla xdebug and
mapper jar files, and it seems to be working fine, breakpoints and all.
I'll look forward to M4 (or whatever it will be called), which hopefully
will have xdebug support restored.
Thanks again for all the good work.
Dennis
"Dave Kelsey" <dkel50@hotmail.com> wrote in message
news:fbb6d3$7os$1@build.eclipse.org...
> XDebug support is included in M3, so you should not install the XDebug
> zip files from bugzilla any more.
>
> As pointed out by Marijn, unfortunately there is no solution for path
> mapping as yet in M3.
>
> Dave Kelsey
>
> Dennis McRitchie wrote:
>> I'm using XDebug 2 on a Linux server running Apache 2. I can communicate
>> successfully with the debugclient app from my Windows XP machine.
>>
>> I then try to run Eclipse 3.3 on my Windows machine w/ all the necessary
>> packages (pdt-all-in-one-incubation-S20070826_M3-win32.zip), plus the two
>> jar files from XDebugBinContrib_0.2.3.zip and
>> org.eclipse.php.xdebug.sampleMapper_0.0.2.jar.
>>
>> I've configured my Eclipse debug configuration per Dave Kelsey's "XDebug
>> PHP IDE Guide" (including the HTDoc tab), and set some breakpoints. When
>> I launch, an IE browser window opens and displays all the expected
>> output, ignoring the breakpoints. The PHP Debug view shows that the
>> project is terminated. I've tried different settings on the HTDoc tab,
>> but without success.
>>
>> The log output from the server side is as follows:
>>
>> vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
>> Log opened at 2007-08-31 22:01:30
>>
>> -> <init xmlns="urn:debugger_protocol_v1"
>> xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
>> fileuri="file:///var/local/raas/document_root_apache2/test.php"
>> language="PHP" protocol_version="1.0" appid="31453"
>> idekey="ECLIPSE_DBGP"><engine
>> version="2.0.0"><![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="stopped"
>> reason="ok"></response>
>>
>> Log closed at 2007-08-31 22:01:30
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>
>> This is exactly the same output as I got when I tested debugclient from
>> my Windows machine.
>>
>> Is this what I should be seeing if I had no breakpoints? Any idea why I'm
>> not hitting any breakpoints? Can I turn on any additional logging on the
>> eclipse client side? Or can I make the server logging more verbose?
>>
>> Thanks,
>> Dennis
>>
|
|
|
Powered by
FUDForum. Page generated in 0.06701 seconds