带有XDebug的Aptana Studio:在断点处打开了错误的文件

时间:2022-10-20 18:30:04

I'm using Aptana Studio 1.2.7 with XDebug 2.0.4 and my website is based on the zend framework. When reaching a breakpoint in my code, aptana studio opens the wrong file when there is more than one file with the same name (e.g. ..\library\Project\Db\Table\Abstract.php (breakpoint set) and \library\Zend\View\Helper\Placeholfer\Container\Abstract.php). The variables are shown correctly and the correct line is highlighted, the wrong file is shown. Is there any solution to this problem?

我正在使用Aptana Studio 1.2.7和XDebug 2.0.4,我的网站基于zend框架。当我的代码中达到断点时,当有多个具有相同名称的文件时,aptana studio会打开错误的文件(例如.. \ library \ Project \ Db \ Table \ Abstract.php(断点集)和\ library \ Zend \查看\助手\ Placeholfer \集装箱\ Abstract.php)。变量显示正确,突出显示正确的行,显示错误的文件。有没有解决这个问题的方法?

1 个解决方案

#1


The problem has been resolved by installing Aptana Studio 1.5.1 and PHP Plugin 1.1. The IDE now opens the correct file and the remote debugger works much faster, too :)

安装Aptana Studio 1.5.1和PHP插件1.1已解决该问题。 IDE现在打开正确的文件,远程调试器工作得更快:)

#1


The problem has been resolved by installing Aptana Studio 1.5.1 and PHP Plugin 1.1. The IDE now opens the correct file and the remote debugger works much faster, too :)

安装Aptana Studio 1.5.1和PHP插件1.1已解决该问题。 IDE现在打开正确的文件,远程调试器工作得更快:)