简体   繁体   English

调试CakePHP应用程序时完全忽略断点

[英]Breakpoints are completely ignored when debugging CakePHP application

I'm developing in NetBeans a CakePHP application and finally managed to get it connecting to XAMPP debugging sessions (PHP 5.3.1 w/ Xdebug v2.0.6-dev). 我正在NetBeans中开发一个CakePHP应用程序,最终设法将它连接到XAMPP调试会话(PHP 5.3.1 w / Xdebug v2.0.6-dev)。

It perfectly works when launching, it does pause the application on the first line. 它在启动时非常有效,它会在第一行暂停应用程序。

However any further breakpoint I set is completely ignored. 但是我设置的任何进一步断点都被完全忽略了。 It does not break nor pause; 它不会破裂也不会停顿; it just runs to completion. 它只是运行完成。

xdebug.extended_info is set to 1 and I tried with a barefoot php project without any framework magic and there breakepoints worked as expected. xdebug.extended_info设置为1,我尝试使用赤脚php项目,没有任何框架魔法,并且breakepoints按预期工作。

What the hack? 什么情况? I would like to be able to use breakpoints in (Cake)PHP. 我希望能够在(Cake)PHP中使用断点。

Try to set the webroot correct to the cake-webroot-dir in project-properties 尝试将webroot设置为项目属性中的cake-webroot-dir

Another thing, take a look here: 另外一件事,看看这里:

http://groups.google.ch/group/cake-php/browse_thread/thread/73bcf80a3d626c75 http://groups.google.ch/group/cake-php/browse_thread/thread/73bcf80a3d626c75

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

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