Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Tutorial for setting up PDT + XDebug
Tutorial for setting up PDT + XDebug [message #73081] Thu, 12 June 2008 11:05 Go to next message
Eclipse UserFriend
Originally posted by: robj1_nospam.robsnotebook.com

Hi:

I created a step by step tutorial for setting up PDT to work with XDebug,
you may find it here:

http://robsnotebook.com/php_debugger_pdt_xdebug

Any comments on it are greatly appreciated!

Rob
Re: Tutorial for setting up PDT + XDebug [message #73194 is a reply to message #73081] Thu, 12 June 2008 15:13 Go to previous messageGo to next message
Roy Ganor is currently offline Roy GanorFriend
Messages: 150
Registered: July 2009
Senior Member
thanks for sharing! can you please update our tutorials page?

link is :
http://wiki.eclipse.org/PDT/TUTORIALS
Re: Tutorial for setting up PDT + XDebug [message #73229 is a reply to message #73194] Thu, 12 June 2008 16:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: robj1_nospam.robsnotebook.com

I would love to add it to the Wiki, but when I try to create an account,
it gives me an error:

Login error:
Incorrect password entered. Please try again.

I entered in the same password in both edit boxes, so I don't understand
why it does that.
Re: Tutorial for setting up PDT + XDebug [message #73246 is a reply to message #73229] Thu, 12 June 2008 18:20 Go to previous messageGo to next message
Roy Ganor is currently offline Roy GanorFriend
Messages: 150
Registered: July 2009
Senior Member
do you have a bugzilla account?

you should create one first at
https://bugs.eclipse.org/bugs/createaccount.cgi
Re: Tutorial for setting up PDT + XDebug [message #73348 is a reply to message #73246] Thu, 12 June 2008 21:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: user.domain.invalid

Roy Ganor wrote:
> do you have a bugzilla account?
>
> you should create one first at
> https://bugs.eclipse.org/bugs/createaccount.cgi
>
>

OK, just created a bugzilla account and added this tutorial to the
tutorials page. Thanks!

I also added all the bugs I reported in the newsgroup today to bugzilla.
Re: Tutorial for setting up PDT + XDebug [message #73399 is a reply to message #73081] Fri, 13 June 2008 14:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: user.domain.invalid

> Any comments on it are greatly appreciated!

One thing I would recommend - don't tell people to enable the profiler by
default... set this to 0, not 1:

xdebug.profiler_enable=0

The profiler will produce very large data files very fast. When I first learned
about this xdebug tool, I got hundreds of megabytes worth of data over a short
time and I didn't know where all these cachegrind files were coming from! :)
They come from the profiler.

Explain to people what this setting is and when they would want to set it to 1
(which is when they want to use a tool like KCacheGrind to find bottlenecks in
their code)

Rob Bresalier wrote:
> Hi:
>
> I created a step by step tutorial for setting up PDT to work with
> XDebug, you may find it here:
>
> http://robsnotebook.com/php_debugger_pdt_xdebug
>
> Any comments on it are greatly appreciated!
>
> Rob
>
>
Re: Tutorial for setting up PDT + XDebug [message #73733 is a reply to message #73081] Sat, 21 June 2008 02:50 Go to previous messageGo to next message
Ihate spam is currently offline Ihate spamFriend
Messages: 3
Registered: July 2009
Junior Member
I am going thru your tutorial right now. Two things I would like to
reccomend off the bat.

#1 try get a hosting site that does not have a floating advert that you
view cannot close. I had to resize the window in order to get the advert
off your text.
#2 put the screen shots in the man article even if they are in a smaller
size the the actual graphic. It was disconcerting to have to go back and
forth from your tutorial text to the screen shots page just to make sure
what you were discribing was what I was seeing on my screen.
Re: Tutorial for setting up PDT + XDebug [message #73751 is a reply to message #73081] Sat, 21 June 2008 04:09 Go to previous messageGo to next message
Ihate spam is currently offline Ihate spamFriend
Messages: 3
Registered: July 2009
Junior Member
Well I follows your tute and I must say it got me farther then any other
tutorial I have ever read. But when I finally press the debug button on
the new configuration screen I got a browser window that said "No Input
file specified" and that was it just that. Not even any html or php code
in the browsers source window. Any Ideas?
Re: Tutorial for setting up PDT + XDebug [message #74053 is a reply to message #73751] Fri, 27 June 2008 17:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: robj1_nospam.robsnotebook.com

Hi Shaba1:

I don't read this newsgroup that often, so didn't see your message until
now. If you want faster responses from me, its better to post comments
on my tutorial page. Here's my responses to your questions:

> #1 try get a hosting site that does not have a floating advert that you
> view cannot close. I had to resize the window in order to get the advert
> off your text.

I've tested this on IE and Firefox, and there shouldn't be a floating
advert, its position should be fixed on the page. What OS and browser
are you using? I can fix this problem, but I wasn't aware of it until
now, nobody else has said anything about that.

> #2 put the screen shots in the man article even if they are in a smaller
> size the the actual graphic. It was disconcerting to have to go back and
> forth from your tutorial text to the screen shots page just to make sure
> what you were discribing was what I was seeing on my screen.
>

I can do that, but it is more work for me. Maybe someday.

> Well I follows your tute and I must say it got me farther then any other
> tutorial I have ever read. But when I finally press the debug button on
> the new configuration screen I got a browser window that said "No Input
> file specified" and that was it just that. Not even any html or php code
> in the browsers source window. Any Ideas?
>
>

I suspect that you didn't specify the file properly in step 7.i.5, in
the "Run->Open Debug Dialog" window.

Rob
Re: Tutorial for setting up PDT + XDebug [message #75260 is a reply to message #73081] Tue, 08 July 2008 14:30 Go to previous message
Andreas Goetz is currently offline Andreas GoetzFriend
Messages: 110
Registered: July 2009
Senior Member
Btw, I believe there is a bug in the current nightlies that prevents you
to choose XDebug in the workspace preferences dialog. The setting is not
persistent. The per-project dialog does work.

Cheers,
Andi

Rob Bresalier wrote:
> Hi:
>
> I created a step by step tutorial for setting up PDT to work with
> XDebug, you may find it here:
>
> http://robsnotebook.com/php_debugger_pdt_xdebug
>
> Any comments on it are greatly appreciated!
>
> Rob
>
>
Previous Topic:Unable to define servers
Next Topic:Debugging include files with XDebug
Goto Forum:
  


Current Time: Mon Feb 06 20:37:00 GMT 2023

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

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

Back to the top