init: speed up scope variables loading

WEB-11784 slow nodejs debug
This commit is contained in:
Vladimir Krivosheev
2014-04-11 11:09:28 +02:00
parent 88b4b7225e
commit 3201ec7dba
2 changed files with 3 additions and 5 deletions
@@ -1,7 +1,7 @@
package org.jetbrains.debugger.values;
/**
* Don't forget to update NashornDebuggerSupport.ValueType respectively also
* Don't forget to update NashornDebuggerSupport.ValueType and debuggerSupport.js respectively also
*/
public enum ValueType {
OBJECT,
@@ -11,8 +11,6 @@ public enum ValueType {
BOOLEAN,
ARRAY,
REGEXP,
DATE,
NODE,
/**
@@ -31,6 +29,6 @@ public enum ValueType {
* not a {@link ObjectValue}
*/
public boolean isObjectType() {
return this == OBJECT || this == ARRAY || this == FUNCTION || this == REGEXP || this == DATE || this == NODE;
return this == OBJECT || this == ARRAY || this == FUNCTION || this == NODE;
}
}
@@ -6,7 +6,7 @@
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/generated" isTestSource="false" />
</content>
<orderEntry type="jdk" jdkName="1.7" jdkType="JavaSDK" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="gson" level="project" />
<orderEntry type="module" module-name="schema-reader-generator" />