]
Max Rydahl Andersen commented on JBDS-3340:
-------------------------------------------
I updated the title to state the intent of this issue - providing a way to disable the
html preview to avoid locking up eclipse.
[~regdeve] can you provide a sample file that gives the problem ? (I think I grok your
issue where a javascript function is iterating a long array and blocking the rest but I
want to be sure we are hunting the same issue)
[~kmarmaliykov] don't we have a way to turn it off already (i.e. we had setting in
past to default to source view) and why is the javascript in the browser even able to
block rest of eclipse - aren't it running in a non-UI thread ?
provide option for disable html preview
---------------------------------------
Key: JBDS-3340
URL:
https://issues.jboss.org/browse/JBDS-3340
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Components: visual-page-editor-core
Environment: win8.1 64 eclipse luna 4.4.0 jboss 4.2.2
Reporter: jim harber
Assignee: Konstantin Marmalyukov
Priority: Optional
when i use tween.js to create a html page,i create an array,here is the problem:
var eles = [];
//push such as 500 elements into eles;
..
then i need call a function to update every element in eles,when these two line:
requestAnimationFrame(animate);
TWEEN.update();
already in the function,i can't see a change in preview and it makes eclipse
shutdown,so i put this two line when i finish the other codes,this time preview become
normal.
every time when i type to for(var i=0;i<eles.length;i) eclipse gets stuck. so i wonder
is thers any chance i can shutdown living view,i checked preferences panel i didn't
find anything.