Debugging

Hi,

we just upgraded one of our projects to 1.5.5. The request rendering took very long (60 sec) after a while we realized that the page size was 165mb!
(With enabled debug pane)

Finally we found that it’s something in the prc. We are suggesting to add some limits to \coldbox\system\includes\panels\CollectionPanel.cfm

`

<cfif isQuery(varVal) and (varVal.recordCount gt getDebuggerConfig().getmaxRCPanelQueryRows())>

select * from varVal


<cfelseif isObject(varVal)>

`

This worked for us, what do you think?

Gunnar

Can you submit a pull request for that?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Done.

Thanks Gunnar. See Luis’ note on Github about sending the pull request to the ColdBox platform instead. Sorry-- I should have specified that.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Done, hope this is right now.