zend framework stack trace

后端 未结 2 979
旧巷少年郎
旧巷少年郎 2021-01-03 10:50

Is there a way to make stack trace to display the whole generated SQL statement when there is an error instead just the first few characters of it?

This is what it c

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-03 11:20

    whilst the profiler is V cool - it doesn't help debug when the system throws an exception..

    check out this post on giving a more detailed stack trace inc full SQL

    ONLY TO BE USED IN DEV ENVIRONMENTS for obvious reasons

    http://www.edmondscommerce.co.uk/blog/zend-framework/zend-framework-more-detailed-stack-trace/

提交回复
热议问题