Login!
Register as a new user Lost password?
 

MODx Bug/Feature Tracker and Feature Requests

Welcome to the MODx CMS Tracker. Please choose the appropriate project from the drop down menu and provide as much information as possible regarding your server environment and browser. Thanks!

FS#670 — Show snippet name, context when bugs occure

Attached to Project — MODx
Opened by dylan greene (dylan) - Friday, 10 November 2006, 10:21PM
Last edited by Ryan Thrash (rthrash) - Saturday, 11 November 2006, 09:47AM
Task Type ToDo
Category Core Distribution
Status New
Assigned To Timon Reinhard (netnoise)
Operating System All
Severity High
Priority High
Reported Version 0.9.2/0.9.2.1
Due in Version 0.9.7
Due Date Undecided
Percent Complete 0%

Details

When an error occures, currently on the generic PHP error message and some timing information is shown. This could be made to be much more detailed, especially given that the most common errors and most difficult to debug occure in "eval()'d code" so no line number or code is displayed.

At a minum the $modx->currentSnippet shold be displayed, and at best the code from the offending snippet along with a stack trace.

Example UI (from Prado, PHP, open source): http://www.pradosoft.com/demos/quickstart/assets/a87f70e6/exception2.gif
This task depends upon

This task blocks these from closing