intersystems / TestCoverage

Test Coverage Tool
MIT License
9 stars 8 forks source link

Class with 10375 lines not loading in ResultDetailViewer #3

Closed psteiwer closed 4 years ago

psteiwer commented 5 years ago

I have a class that is 10375 lines long. It appears that the page stops loading after about 1 minute and ends up not displaying anything. This is almost certainly the CSP Gateway timeout. I put some logging in TestCoverage.UI.Utils:ColoredTextFetch() and it is getting through about 4,000 lines before stopping.

psteiwer commented 5 years ago

Tried increasing the CSP Gateway timeout and I got the following: ERROR #5002: ObjectScript error: %DrawJSON+63^%ZEN.Auxiliary.altJSONSQLProvider.1 [%DrawJSON+63^%ZEN.Auxiliary.altJSONSQLProvider.1:UNIT] SOURCE ELEMENT: %ZEN.Auxiliary.altJSONSQLProvider (coverageDataProvider)

timleavitt commented 5 years ago

There are a few layers to this issue:

All of these things can/should be fixed.