问题
After a long process of trial and error, I finally got xdebug configured correctly but I'm having a few issues with eclipse.
- First, there is only one option in the 'Run > Debug As' menu and it is 'XSL Transformation' and it is grayed out! Why can I select PHP Script or Web Page?
- Second, It just completely ignores my breakpoints! I set em and eclipse forgets em! It only breaks at the first line and that's it!
- I'm only able to set breakpoints in the first bit of php - so if I have a few lines of PHP, followed by HTML and then followed by some more PHP, there is no blue area in the far left bar to set breakpoints.
Am I just completely missing something here? I'm running WAMP and Eclipse for PHP Developers (Helios). Any help would be great.
回答1:
Tried out NetBeans and it is working great - I've already isolated what my issue was. Eclipse seems like it is the better/more-complete IDE, however I don't have time to mess around with it anymore - NetBeans FTW, maybe I'll checkout eclipse again when i'm not so noobish.
来源:https://stackoverflow.com/questions/5585026/problems-debugging-with-eclipse-and-xdebug