开发者

phpunit: get more debugging information when I get an error

I'm interested in getting more dubugging information when I get an error.

Now I'm getting something like this:

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开发者_如何学C /home/me/mf/myfirm2/vendor/doctrine/lib/Doctrine/ORM/EntityManager.php on line 577

but it's not enough for me, I want to know the some more functions or files where called right before that error happens.

Any idea?

phpunit 3.5.14

Regards

Javi


Install xdebug: it gives you better stacktraces.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜