开发者

phpunit: get more debugging information when I get an error

开发者 https://www.devze.com 2023-04-06 06:06 出处:网络
I\'m interested in getting more dubugging information when I get an error. Now I\'m getting something like this:

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

精彩评论

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