简体   繁体   English

Netbeans突然不会在断点处停下来

[英]Netbeans suddenly doesn't stop at breakpoints

I have been working and debugging with NetBeans since almost a year with 0 problems. 我已经用NetBeans工作和调试了近一年,有0个问题。 I even updated months ago my PHP version to 5.3.6 and Xdebug to v2.1.0 and worked fine. 我甚至在几个月前更新了我的PHP版本到5.3.6和Xdebug到v2.1.0并且工作正常。

Suddenly, NetBeans (6.9.1) is not stopping at breakpoints and I don't remember to have modified any configuration in php.ini or related stuff. 突然间,NetBeans(6.9.1)没有停在断点处,我不记得在php.ini或相关内容中修改了任何配置。 The NetBeans option to "stop at first line" works and "xdebug_break();" “停在第一行”的NetBeans选项可用,“xdebug_break();” works, too. 也有效。 Therefore I deduce Xdebug is correctly configured. 因此我推断Xdebug配置正确。 I have tried in 3 different projects and it's unable to stop. 我尝试了3个不同的项目,但无法停止。 The checkbox in the project properties "Copy files from sources folder to another location" is unchecked, so I don't think it is unable to locate the files. 项目属性“将文件从源文件夹复制到另一个位置”中的复选框未选中,因此我认为它无法找到文件。

My development machine is a Windows 7 64 bits Pro. 我的开发机器是Windows 7 64位Pro。 Any suggestion about where I must look will be appreciated. 任何关于我必须看的地方的建议将不胜感激。

Well, after a lot of neurotic trying (I even tried to debug with Vim via Cygwin) now it works. 好吧,经过很多神经质的尝试(我甚至尝试通过Cygwin调试Vim)现在它可以正常工作。 I removed the projects, I created them again downloading them from the subversion repository and now they work again. 我删除了项目,我再次创建它们从subversion存储库下载它们现在再次工作。 Wasn't the first time I deleted and created them again from NetBeans, but it was the first time I also deleted the source's files. 这不是我第一次从NetBeans中删除并再次创建它们,但这是我第一次删除源文件。 More bizarre than trying to parse HTML with regexp. 比试图用regexp解析HTML更奇怪。 Cthulhu knows... 克苏鲁知道......

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM