Fixed Incorrect debugger line numbers when "Open loaded while playing" is enabled

Fixed AS3 debugger - Slow injecting debug info - now faster
Fixed AS3 debugger - obfuscated classes debugging
Fixed Delayed open loaded SWFs while playing
Fixed AS3 Direct editation - script initializer for main document class

Changed Wrong unicode escape `{invalid_utf8:xxx}` changed to `{invalid_utf8=xxx}` for compatibility with file names
This commit is contained in:
Jindra Petřík
2023-11-19 02:00:27 +01:00
parent e54973b761
commit bd6c953218
53 changed files with 325 additions and 80 deletions

View File

@@ -81,6 +81,7 @@ public class ActionScript2ModificationTest extends ActionScript2TestBase {
doa.setActionBytes(Action.actionsToBytes(actions, true, swf.version));
HighlightedTextWriter writer = new HighlightedTextWriter(new CodeFormatting(), false);
doa.getASMSource(ScriptExportMode.PCODE, writer, null);
writer.finishHilights();
String actualResult = normalizeLabels(writer.toString());
actualResult = cleanPCode(actualResult);
@@ -107,6 +108,7 @@ public class ActionScript2ModificationTest extends ActionScript2TestBase {
doa.setActionBytes(Action.actionsToBytes(actions, true, swf.version));
HighlightedTextWriter writer = new HighlightedTextWriter(new CodeFormatting(), false);
doa.getASMSource(ScriptExportMode.PCODE, writer, null);
writer.finishHilights();
String actualResult = normalizeLabels(writer.toString());
actualResult = cleanPCode(actualResult);
@@ -133,6 +135,7 @@ public class ActionScript2ModificationTest extends ActionScript2TestBase {
doa.setActionBytes(Action.actionsToBytes(actions, true, swf.version));
HighlightedTextWriter writer = new HighlightedTextWriter(new CodeFormatting(), false);
doa.getASMSource(ScriptExportMode.PCODE, writer, null);
writer.finishHilights();
String actualResult = normalizeLabels(writer.toString());
actualResult = cleanPCode(actualResult);
@@ -156,6 +159,7 @@ public class ActionScript2ModificationTest extends ActionScript2TestBase {
doa.setActionBytes(Action.actionsToBytes(actions, true, swf.version));
HighlightedTextWriter writer = new HighlightedTextWriter(new CodeFormatting(), false);
doa.getASMSource(ScriptExportMode.PCODE, writer, null);
writer.finishHilights();
String actualResult = normalizeLabels(writer.toString());
actualResult = cleanPCode(actualResult);