debugging improvements and bug fixes

Description

I have addressed some basic issues with the debugging

  • classic and comment templates no longer worked (just defaulted to modern)

  • updated the comment and classic templates to implement readDebug method like the modern template

To make developing a custom debug template more friendly

  • improved exception information for debug.cfc for unimplemented methods (getId, getLabel, getDescription) which the admin configure template interface relies on

  • show problem template path in exception message for unimplemented methods in Debug.cfc (makes developing a debug template easier)

  • show the debug execution time for the modern template (it was slow)

Performance and integrity fixes

  • varscoping fixes for the modern template, a sample large debug log went from 20s down to 0.5s

  • duplicate the debug log pages data, as the modern template modifies the query and subsequent views of the logs via admin included the changes from the last view, resulting in very wrong statistics

  • no guarantee that the correct debugging log was being displayed (previously just defaulted fell whatever the to lastest log was if the requested log id wasn’t not found)

Environment

None

Assignee

Unassigned

Reporter

Zac Spitzer

Priority

Critical

Fix versions

Affects versions

Configure