First you can profile everything using the DB profiler. Second you can look
in the stack trace for the parameters if you have:

<pre><?php var_dump($this->request->getParams()) ?></pre>

in your error view script you will see the Query that failed.

On Tue, Jun 2, 2009 at 3:18 PM, iceangel89 <[email protected]> wrote:

>
> sometimes when exception happen, i would like more info ... like when DB
> queries fail ... the stack trace don't seem to helpful to me. i think the
> full SQL that failed shld be outputted ... don't u think?
> --
> View this message in context:
> http://www.nabble.com/DB-Exceptions---shld-include-whole-SQL-tp23831486p23831486.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>


-- 
Vincent Gabriel.
Lead Developer, Senior Support.
Zend Certified Engineer.
Zend Framework Certified Engineer.
-- http://www.vadimg.co.il/

Reply via email to