mathiasverraes / jdump

J!Dump is a very easy to use debugging extension for Joomla developers and template designers. Download links below.
http://twitter.com/mathiasverraes
43 stars 25 forks source link

Raise on exception? #24

Open ibanez0r opened 10 years ago

ibanez0r commented 10 years ago

just out of curiosity, Is it possible to install this into joomla in such a way that runs the dump on an associated object when an exception occurs?

malukenho commented 10 years ago

Have you tried using the whoops?

ibanez0r commented 10 years ago

I have tried yes but i have had no luck implementing it, i spent hours looking thru api docs and such with no luck yet!

garstud commented 9 years ago

Hello, Not sure to understand your need !? ... but have you try to call "dump($var, "my var");" in the catch of your exception ?

if you want to have a global call to dump for any exception ...well, i'll never do this, but seems to be possible by using an Handler ? http://php.net/manual/en/function.set-exception-handler.php

Does anybody have an idea to use such this solution ?