Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Another xdebug gotchya (w/solution)
Another xdebug gotchya (w/solution) [message #24561] Wed, 30 May 2007 05:06
Keath Milligan is currently offline Keath MilliganFriend
Messages: 38
Registered: July 2009
Member
Some background:

I am running Eclipse on Windows and debugging an app running on a Linux
server.

My project looks something like this (example folder names):

project/ -- Eclipse project folder
somelibs/ -- some library files outside of the document root
html/ -- this is the document root
index.php

I found that I could get xdebug to stop on the first line and I could
step through code, but I could not get it to stop on breakpoints.

In a scenario like this, you will need Dave's simple mapper, but here is
the gotchya - the "HTDocs" tab is a little misleading. In this case, you
don't want to specify the location of the html directory, but rather the
location of the project directory (as seen by the server, e.g.,
"/home/somebody/myprojects/project").

I left "Context Root" blank.
Previous Topic:Breakpoints in "action" scripts
Next Topic:Open Declaration feature
Goto Forum:
  


Current Time: Fri Apr 19 01:38:41 GMT 2024

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

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

Back to the top