Problems debugging with eclipse and xdebug

瘦欲@ 提交于 2019-12-24 23:15:47

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!