Details
Assignee
UnassignedUnassignedReporter
Zac SpitzerZac SpitzerPriority
CriticalLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Details
Details
Assignee
Unassigned
UnassignedReporter
Zac Spitzer
Zac SpitzerPriority
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Created 5 July 2019 at 15:03
Updated 23 October 2019 at 10:07
how can there be a count of 5, with an average the same as the total time?
Pretty sure this relates to the underlying problem with (duplicate stacktraces in modern debugging output)
https://github.com/lucee/Lucee/commit/1526fc9a94f8115c65a0d9189ec91c70cf747c05
a lot of the code doesn't make any sense and it's also super slow
https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/resource/context/admin/debug/Modern.cfc#L1079
pages.src is never a comma delimited list, it's the relative path to the file
page.stckTrace might as well be an ordered struct, as it's only deduped as an array later on
https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/resource/context/admin/debug/Modern.cfc#L1091
once again, pages.src is just a relative file path, it never contains a "$". maybe it's meant to be pages.path which sometimes contains fullpath$methodname (but often not)
https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/resource/context/admin/debug/Modern.cfc#L1167
this would all be redundant if you use an ordered struct to start with, instead of going from an array to a list and then finally back to an array
the actual method doesn't ever get shown, even tho it's already there in the source pages query, because page.stckTrace is extracted from pages.src which never contains a $ from what i can see, and then sometimes populated with a listlast $, so <cfif listLen(i, "$") gt 1> is always going to be false
https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/resource/context/admin/debug/Modern.cfc#L1180