On 12/2/14, 2:10 PM, "Darrell Loverin" <[email protected]> wrote:
>Hi Alex, > >I’m hoping you can help me with an issue I’m seeing with the CodeCoverage >utility you donated. > >I’m running a mustella test with the coverage server running. What I’m >seeing is the LocalConnection send() method seems to stop working part >way thru the test. On the CodeCoveragePreloadSWF side I’ve added trace >debug on the Trace.METHODS_AND_LINES callback just before the lc.send() >calls. This debug shows the Trace callback is getting called for all the >lines of the mustella test. I would start by seeing if the server is getting overwhelmed or running out of memory. Maybe comment out almost all of the code in the server and just update a Label in the UI with each line of output. IIRC, constantly updating flashlog.txt with Trace can really slow down the app. You might also try a socket connection instead of LocalConnection. At least for me (before solid-state hard drives), simple output via trace was too slow, and writing all of the output to a file was too slow as well. There is a buffering scheme in the preloader and a string encoding scheme in the server that might be buggy or overloaded. Good luck, -Alex
