tirenweb
tirenweb

Reputation: 31719

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 /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

Upvotes: 0

Views: 128

Answers (1)

cweiske
cweiske

Reputation: 31098

Install xdebug: it gives you better stacktraces.

Upvotes: 1

Related Questions