View unanswered posts | View active topics



Reply to topic  [ 5 posts ] 
Freeze with huge trace log 
Author Message
Member

Joined: Thu May 19, 2016 9:16 am
Posts: 6
Reply with quote
Hi,

I have a project that logs a lot of json and makes FD freeze.
I always need to pause the Output panel and use an external log viewer.

Small code to see what I'm talking about, let it run a few minutes and FD will be freezed.
Code:
public function Main() {
   var str:String = "";
   for (var i:int = 0 ; i < 100 ; i++) {
      str += "abcdefghijklmnopqrstuvwxyz";
   }
   setInterval(trace, 30, str);
}


If the output panel could be optimized in future versions it would be awesome :)

Windows 7 SP1
FlashDevelop 5.1.0.3
.NET 4.5


Thu May 19, 2016 10:29 am
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
Reply with quote
There's been some work on that - what's your FD version?


Mon May 23, 2016 2:34 pm
Profile WWW
Member

Joined: Thu May 19, 2016 9:16 am
Posts: 6
Reply with quote
I just installed 5.1.1.1 and still the same, each time the app traces a big string FD freezes for a few seconds, and after a couple of minutes it's totally freezed.
It uses 100% of a CPU core, the Output panel blinks (it seems a new line is added/deleted in loop) and no button responds.

Btw, I was on FD 5.1.0.3 and "Check for updates" said there was no new version. I had to manually download v5.1.1.1


Mon May 23, 2016 3:39 pm
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
Reply with quote
Hum right...
Can you raise a new github issue, I think we really need to sit and rewrite the output panel renderer.


Mon May 23, 2016 8:11 pm
Profile WWW
Member

Joined: Thu May 19, 2016 9:16 am
Posts: 6
Reply with quote
Ok thanks, I've submitted the issue :
https://github.com/fdorg/flashdevelop/issues/1238


Tue May 24, 2016 8:30 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.