Shawn,Thank you.
I have tried everything, and nothing seems to be working for me. I
understand that the mapping has to be absolute, and that's what I have.
Here's screenshots for my config:
http://img152.imageshack.us/img152/9427/screenshot1en0.png
http://img219.imageshack.us/img219/1281/screenshot2bj5.png
Do you have any advice ?
Shawn Clark wrote:
Mansour,
When debugging I have seen this occur when I have not setup my "PHP
Web Page" server settings properly within Eclipse Debug Configuration.
The 19% is when Eclipse has done everything it can to start a debug
session and is waiting to hear back from Xdebug. Eclipse starts the
session up but won't actually do anything more until a filepath / line
number matches with what the path mappings have for the page settings.
From your notes I don't see you ever going in and checking the PHP
server configuration within the Debug Configuration. If you click on
the down arrow beside the debug icon you will see a option to open up
the Debug Configurations. Within there under "PHP Web Page" check what
settings are for your site. Main thing to check is the PHP Server
setting within the server tab. If it is set to "Default PHP Web
Server" then that is the one for localhost. Use the configure button
and make sure the path mapping settings are correct. They have to be
absolute paths so the path on server should have something like
"home/mansour/public_html/Project" and the path in workspace should
just be a selection of that project.
Once that is all setup then you should be able to debug your page.
Have it so that it IS breaking at the first line so that you are able
to make sure that it is starting a debug session. Once you have that
confirmed then you can remove the "break at first line" and setup
other breakpoints.
--
Shawn Clark