random debugger package now optional

abc combobox removed
debugger attaching fixed
This commit is contained in:
Jindra Petřík
2014-10-28 17:53:50 +01:00
parent 2746f3bc32
commit eb8634d3d8
8 changed files with 48 additions and 41 deletions

View File

@@ -345,6 +345,10 @@ public class Configuration {
@ConfigurationCategory("script")
public static final ConfigurationItem<Integer> debuggerPort = null;
@ConfigurationDefaultBoolean(false)
@ConfigurationCategory("script")
public static final ConfigurationItem<Boolean> randomDebuggerPackage = null;
@ConfigurationDefaultBoolean(true)
public static final ConfigurationItem<Boolean> displayDebuggerInfo = null;

View File

@@ -12,9 +12,11 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
* License along with this library.
*/
package com.jpexs.decompiler.flash.tags;
import com.jpexs.decompiler.flash.SWF;
import com.jpexs.decompiler.flash.SWFInputStream;
import com.jpexs.decompiler.flash.SWFOutputStream;
import com.jpexs.decompiler.flash.abc.ABC;
@@ -81,6 +83,14 @@ public class DoABCDefineTag extends Tag implements ABCContainerTag {
abc = new ABC(ais, swf, this);
}
@Override
public void setSwf(SWF swf) {
super.setSwf(swf);
abc.swf = swf;
}
/**
* Gets data bytes
*

View File

@@ -12,9 +12,11 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
* License along with this library.
*/
package com.jpexs.decompiler.flash.tags;
import com.jpexs.decompiler.flash.SWF;
import com.jpexs.decompiler.flash.SWFInputStream;
import com.jpexs.decompiler.flash.SWFOutputStream;
import com.jpexs.decompiler.flash.abc.ABC;
@@ -92,4 +94,12 @@ public class DoABCTag extends Tag implements ABCContainerTag {
public int compareTo(ABCContainerTag o) {
return 0;
}
@Override
public void setSwf(SWF swf) {
super.setSwf(swf);
abc.swf = swf;
}
}