Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » xdebug not breaking at breakpoints
xdebug not breaking at breakpoints [message #25220] Mon, 04 June 2007 17:40 Go to next message
oliver  is currently offline oliver Friend
Messages: 8
Registered: July 2009
Junior Member
Hi all,
I am testing out xdebug + PDT for one of my projects.

It seems to work fine except that breakpoints don't work. I can step
through code by selecting "Break at first line" which indicates to me that
I have my mapping correct. (I run eclipse on a WinXP box, and the Apache
1.3 server is on an ubuntu box.)

However if I uncheck "Break at first line" then the code is executed all
the way through in one shot and ignores all breakpoints.

Some red flags:
-I ended up with xdebug 2.0.0RC4, not RC3.
-in PHP Web -> Script and Server, the Server URL always reverts to
http://localhost.
-I am not clear what to put in Context Root for my setup. I have it as the
projec t name.

ALso, I am using Java 6.

Any help help would be appreciated. Many thanks to Mr. Kelsey.

-Oliver
Solution found: xdebug not breaking at breakpoints [message #25262 is a reply to message #25220] Mon, 04 June 2007 20:06 Go to previous messageGo to next message
oliver  is currently offline oliver Friend
Messages: 8
Registered: July 2009
Junior Member
Turns out the mapping was wrong. Even with incorrect mapping you can step
through code in a local file while it is running on a remote server.

sO I fixed the mapping and now the breakpoints work. Lesson learned: don't
put a trailing slash at the end of the path for htdocs.

I guess that means xdebug 2.0.0RC4 works fine.

Sorry for the trouble.
Re: Solution found: xdebug not breaking at breakpoints [message #1006668 is a reply to message #25262] Fri, 01 February 2013 11:24 Go to previous message
dev developer is currently offline dev developerFriend
Messages: 1
Registered: February 2013
Junior Member
Hi!
I'm using Eclipse for PHP Developers Version: 3.0.2
on Windows-XP I need debuging in Eclipse. I tried setting up xdebug with the help of http://www.eclipse.org/pdt/documents/XDebugGuideForPDT2.0.pdf article. All the options are similiar to the article, but it's not working. If I try to debug it full page And the text in the bottom right corner sais 'Launching Application 57%'. (Of course, the same happens with the internal web browser) It seems it doesn't really care about my breakpoints (And not to mention that 'Break at first line' is checked, too). What's could be the problem?


Please Help Me !!!!!!!!
Thanks in Advance.
Deven Bari
Previous Topic:Code completion without project
Next Topic:Problem downloading file
Goto Forum:
  


Current Time: Thu Apr 25 23:52:32 GMT 2024

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

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

Back to the top