phpunit:在收到错误时获取更多调试信息

phpunit:在收到错误时获取更多调试信息,phpunit,Phpunit,当我遇到错误时,我想获得更多的怀疑信息 现在我得到了这样的结果: PHP Fatal error: Class 'MyFirm\PlatformBundle\Entity\Review\LandmarkReviewRepository' not found in /home/me/mf/myfirm2/vendor/doctrine/lib/Doctrine/ORM/EntityManager.php on line 577 Fatal error: Class 'MyFirm\Platfo

当我遇到错误时,我想获得更多的怀疑信息

现在我得到了这样的结果:

PHP Fatal error:  Class 'MyFirm\PlatformBundle\Entity\Review\LandmarkReviewRepository' not found in /home/me/mf/myfirm2/vendor/doctrine/lib/Doctrine/ORM/EntityManager.php on line 577

Fatal error: Class 'MyFirm\PlatformBundle\Entity\Review\LandmarkReviewRepository' not found in /home/me/mf/myfirm2/vendor/doctrine/lib/Doctrine/ORM/EntityManager.php on line 577
但这对我来说还不够,我想知道在错误发生之前调用的更多函数或文件

有什么想法吗

phpunit 3.5.14

问候


Javi

安装xdebug:它提供了更好的堆栈跟踪。

这似乎是一个简短的回答,但我想说的是:)+1来自我(昨天)