I'm just looking at a talk[1] from a flickr guy and he mentions a debugging 
trick they use:

While in Debug mode, enhance each SQL query with a comment containing the full 
PHP backtrace.
Thus you can see in the DB-log where each query comes from in your PHP code.

May I put this as an enhancement request in the issue tracker? We would need

- ezcQuery::comment() // Add a comment to the request
- ezcDbHandler automatically adding a Debug comment on each request while in 
Debug mode

[1] http://www.youtube.com/watch?v=i6Fr65PFqfk

Have a nice weekend, Thomas
-- 
Components mailing list
Components@lists.ez.no
http://lists.ez.no/mailman/listinfo/components

Reply via email to