Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » How Do I Get Debugging Working?
How Do I Get Debugging Working? [message #37402] Thu, 19 July 2007 19:49 Go to next message
Eclipse UserFriend
Originally posted by: DWTebriel.gmail.com

Hello,

I am trying to figure out how to install the debug extension into PHP
and get it functioning within pdt. I currently have the following versions:
Windows XP Pro
Eclipse 3.3.0
PDT 1.0 M1
Apache 2.2.4
PHP 5.2.3

I would like to get the Zend Debugger to work. However I am also willing
to try out XDebug. I have just tried both, and neither worked. However I
was able to get PHP to show that XDebug could be installed under
phpinfo. It doesn't seem that Zend Debugger is updated enough to be
installed into PHP 5.2.x. I think I found some debug site for XDebug
integration into PDT 0.7, however I really don't want to downgrade my
PDT installation.

I've tried to Google for an answer, but I can't seem to find anything
that is up-to-date. Any help would be greatly appreciated, cause right
now I have resorted to sticking var_dumps and echos all over the place. :D

Thanks,
Paul

--
Paul
Web Application Team Member
Instructional, Communication, and Information Technology
UW Whitewater
Re: How Do I Get Debugging Working? [message #37436 is a reply to message #37402] Thu, 19 July 2007 19:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mshekov.gmx.de

About ZEND Debugger: Have you followed
a) what is stated in the Zend Debugger Readme (inside the zip file)
b) checked that also these things are done correctly?:
http://www.thierryb.net/pdtwiki/index.php?title=Using_PDT_:_ Installation_:_Installing_the_Zend_Debugger

If so, you should actually get the confirmation that the Zend debugger
is working by having a look at the phpinfo() output.

Good luck!
Re: How Do I Get Debugging Working? [message #37469 is a reply to message #37436] Thu, 19 July 2007 20:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: DWTebriel.gmail.com

Marius Shekow wrote:
> About ZEND Debugger: Have you followed
> a) what is stated in the Zend Debugger Readme (inside the zip file)
> b) checked that also these things are done correctly?:
> http://www.thierryb.net/pdtwiki/index.php?title=Using_PDT_:_ Installation_:_Installing_the_Zend_Debugger
>
>
> If so, you should actually get the confirmation that the Zend debugger
> is working by having a look at the phpinfo() output.
>
> Good luck!

Well, I got that installed. Thanks for the link. Is there any support
for breakpoints however?

--
Paul Sanchez
Web Application Team Member
Instructional, Communication, and Information Technology
UW Whitewater
Re: How Do I Get Debugging Working? [message #37502 is a reply to message #37402] Fri, 20 July 2007 01:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mkgrnwlt.aol.com

Based on my own experience with PDT, and on seeing numerous posts to this
group, it seems that debugging with PDT is NOT an easy thing to accomplish.
I have been trying off and on for a couple of weeks to get debugging to
work, and so far, no luck. The needed information seems to be fairly
scattered, and not simply located at the site that sources the software.
That seems a strange situation indeed.

I have been trying to link to the site at thierryb.net for weeks, and could
not even establish a connection, much less read the material. Finally, today
I am able to access that site. Who knows why it would not work for me
before?

Fortunately, I was able to complete my first PHP project by using echo calls
to print out debug data.

-- Mike

"Paul Sanchez" <DWTebriel@gmail.com> wrote in message
news:f7of8a$3as$1@build.eclipse.org...
> Hello,
>
> I am trying to figure out how to install the debug extension into PHP and
> get it functioning within pdt. I currently have the following versions:
> Windows XP Pro
> Eclipse 3.3.0
> PDT 1.0 M1
> Apache 2.2.4
> PHP 5.2.3
>
> I would like to get the Zend Debugger to work. However I am also willing
> to try out XDebug. I have just tried both, and neither worked. However I
> was able to get PHP to show that XDebug could be installed under phpinfo.
> It doesn't seem that Zend Debugger is updated enough to be installed into
> PHP 5.2.x. I think I found some debug site for XDebug integration into PDT
> 0.7, however I really don't want to downgrade my PDT installation.
>
> I've tried to Google for an answer, but I can't seem to find anything that
> is up-to-date. Any help would be greatly appreciated, cause right now I
> have resorted to sticking var_dumps and echos all over the place. :D
>
> Thanks,
> Paul
>
> --
> Paul
> Web Application Team Member
> Instructional, Communication, and Information Technology
> UW Whitewater
Re: How Do I Get Debugging Working? [message #37536 is a reply to message #37502] Fri, 20 July 2007 04:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipsenews.20.epm.spamgourmet.com

Yeah, I have never been able to get it working. Mostly because my files
are stored on a separate server and the path mapping stuff is pretty
alpha still.

That said, the guys who've done what currently exists have done a great
job considering how gnarly path management can get.

But I do really wish the main PDT guys would get the debugging issue
sorted, incorporate the xdebug plugin and get the path mapping sorted
out... and make it a little less painful to get happening without having
to trawl 6 different readme's and forums and newsgroups.

Mike Greenawalt wrote:
> Based on my own experience with PDT, and on seeing numerous posts to this
> group, it seems that debugging with PDT is NOT an easy thing to accomplish.
> I have been trying off and on for a couple of weeks to get debugging to
> work, and so far, no luck. The needed information seems to be fairly
> scattered, and not simply located at the site that sources the software.
> That seems a strange situation indeed.
>
> I have been trying to link to the site at thierryb.net for weeks, and could
> not even establish a connection, much less read the material. Finally, today
> I am able to access that site. Who knows why it would not work for me
> before?
>
> Fortunately, I was able to complete my first PHP project by using echo calls
> to print out debug data.
>
> -- Mike
>
> "Paul Sanchez" <DWTebriel@gmail.com> wrote in message
> news:f7of8a$3as$1@build.eclipse.org...
>> Hello,
>>
>> I am trying to figure out how to install the debug extension into PHP and
>> get it functioning within pdt. I currently have the following versions:
>> Windows XP Pro
>> Eclipse 3.3.0
>> PDT 1.0 M1
>> Apache 2.2.4
>> PHP 5.2.3
>>
>> I would like to get the Zend Debugger to work. However I am also willing
>> to try out XDebug. I have just tried both, and neither worked. However I
>> was able to get PHP to show that XDebug could be installed under phpinfo.
>> It doesn't seem that Zend Debugger is updated enough to be installed into
>> PHP 5.2.x. I think I found some debug site for XDebug integration into PDT
>> 0.7, however I really don't want to downgrade my PDT installation.
>>
>> I've tried to Google for an answer, but I can't seem to find anything that
>> is up-to-date. Any help would be greatly appreciated, cause right now I
>> have resorted to sticking var_dumps and echos all over the place. :D
>>
>> Thanks,
>> Paul
>>
>> --
>> Paul
>> Web Application Team Member
>> Instructional, Communication, and Information Technology
>> UW Whitewater
>
>
Re: How Do I Get Debugging Working? [message #37692 is a reply to message #37469] Fri, 20 July 2007 15:39 Go to previous message
Eclipse UserFriend
Originally posted by: DWTebriel.gmail.com

Paul Sanchez wrote:
> Marius Shekow wrote:
>> About ZEND Debugger: Have you followed
>> a) what is stated in the Zend Debugger Readme (inside the zip file)
>> b) checked that also these things are done correctly?:
>> http://www.thierryb.net/pdtwiki/index.php?title=Using_PDT_:_ Installation_:_Installing_the_Zend_Debugger
>>
>>
>> If so, you should actually get the confirmation that the Zend debugger
>> is working by having a look at the phpinfo() output.
>>
>> Good luck!
>
> Well, I got that installed. Thanks for the link. Is there any support
> for breakpoints however?
>

Well, for those who are interested, I have the breakpoints working now.
You just have to set the option under General -> Web Browser to external
web browser. For some reason internal wasn't working right. Yay for
debugging :D.

--
Paul Sanchez
Web Application Team Member
Instructional, Communication and Information Technology
UW Whitewater
Previous Topic:Cannot open file in PHP editor
Next Topic:Problem - PDT and Subclipse
Goto Forum:
  


Current Time: Fri Jan 24 04:51:40 GMT 2025

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

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

Back to the top