Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Having trouble with PDT and Xdebug on mac intel
Having trouble with PDT and Xdebug on mac intel [message #20483] Mon, 14 May 2007 16:40 Go to next message
Eclipse UserFriend
Originally posted by: sudeshna_das.harvard.edu

Hi,


I am having trouble using Xdebug on Mac intel. I am using PDT RC3. I am
using PHP 5.1.6, Eclipse 3.2.2 and Apache 2.0. My php.ini is initialized
as follows:

[DEBUGGER]
zend_extension=/Applications/MAMP/Library/share/php/xdebug.s o
Xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.idekey=sdas


The script doesn't halt at breakpoints and I get this message

<terminated>Watch a drupal request [PHP Web Page]
<terminated>Session Terminated


Does PDT/Xdebug not work on Mac intels?

Thanks for any help!
Sudeshna
Re: Having trouble with PDT and Xdebug on mac intel [message #20488 is a reply to message #20483] Mon, 14 May 2007 16:59 Go to previous messageGo to next message
D Kelsey is currently offline D KelseyFriend
Messages: 232
Registered: July 2009
Senior Member
You are using the zend launcher rather than the xdebug launcher so
it won't work.

You need a launcher of type "PHP Web Script Using XDebug" only found on the
debug launch panel of eclipse. If you don't have debug launches of this type,
then you also need to install the Xdebug support plugins from

https://bugs.eclipse.org/bugs/show_bug.cgi?id=169408

Cheers
Dave Kelsey


sdas wrote:
> Hi,
>
>
> I am having trouble using Xdebug on Mac intel. I am using PDT RC3. I am
> using PHP 5.1.6, Eclipse 3.2.2 and Apache 2.0. My php.ini is initialized
> as follows:
>
> [DEBUGGER]
> zend_extension=/Applications/MAMP/Library/share/php/xdebug.s o
> Xdebug.remote_enable=1
> xdebug.remote_handler=dbgp
> xdebug.remote_mode=req
> xdebug.remote_host=127.0.0.1
> xdebug.remote_port=9000
> xdebug.idekey=sdas
>
>
> The script doesn't halt at breakpoints and I get this message
>
> <terminated>Watch a drupal request [PHP Web Page]
> <terminated>Session Terminated
>
>
> Does PDT/Xdebug not work on Mac intels?
>
> Thanks for any help!
> Sudeshna
>
>
Re: Having trouble with PDT and Xdebug on mac intel [message #20494 is a reply to message #20488] Mon, 14 May 2007 17:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sudeshna_das.harvard.edu

Do I need to compile or can I use the precompiled code?

Sudeshna
Re: Having trouble with PDT and Xdebug on mac intel [message #20502 is a reply to message #20488] Mon, 14 May 2007 17:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sudeshna_das.harvard.edu

Thanks, I installed your XDebug plugin (compiled version), but it still
doesn't halt at the breakpoint.

Now I get the following on my debug window:
Watch a drupal request [PHP Web Script with XDebug]
Remote Launch



Sudeshna
Re: Having trouble with PDT and Xdebug on mac intel [message #20508 is a reply to message #20502] Mon, 14 May 2007 18:53 Go to previous messageGo to next message
Ali B. is currently offline Ali B.Friend
Messages: 66
Registered: July 2009
Member
Sudeshna,

Did you follow the instructions in the pdf file that comes with the plugin?
Also, don't define the idekey, it is set to ECLIPSE_XDEBUG by default,
so you might wanna omit that line, restart everything and try over.

I had the same issue not so much ago, and David was a great help, so now
I will tell you what he told me :)

First make sure that you are editing the same php.ini file PHP is using,
you can see that by executing a phpinfo().

If you are editing the correct file, send us you phpinfo() page, maybe
there is something there that you are missing.

Cheers,
Ali


sdas wrote:
> Thanks, I installed your XDebug plugin (compiled version), but it still
> doesn't halt at the breakpoint.
>
> Now I get the following on my debug window:
> Watch a drupal request [PHP Web Script with XDebug]
> Remote Launch
>
>
>
> Sudeshna
>
Re: Having trouble with PDT and Xdebug on mac intel [message #21689 is a reply to message #20502] Fri, 18 May 2007 00:12 Go to previous message
Eclipse UserFriend
Originally posted by: Darnell.Turner.gmx.net

I guess there is some reason you do not want to use the Zend Debugger,
which runs all fine on my Intel Mac.

dT
Previous Topic:IDEs Sruvey
Next Topic:yml editor
Goto Forum:
  


Current Time: Fri Apr 26 10:26:55 GMT 2024

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

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

Back to the top