mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-07 09:25:10 +00:00
Debugging - do not invoke getter when there is none - avoid freezing
This commit is contained in:
@@ -301,7 +301,7 @@ public class Main {
|
||||
if ((v.vType == VariableType.OBJECT || v.vType == VariableType.MOVIECLIP)) {
|
||||
objectId = (Long) v.value;
|
||||
}
|
||||
Object oldPos = getDebugHandler().getVariable(objectId, "position", true).parent.value;
|
||||
Object oldPos = getDebugHandler().getVariable(objectId, "position", true, true).parent.value;
|
||||
getDebugHandler().setVariable(objectId, "position", VariableType.NUMBER, 0);
|
||||
icf = getDebugHandler().callFunction(false, "readUTF", v, new ArrayList<>());
|
||||
System.out.println("Result=" + icf.variables.get(0).value);
|
||||
|
||||
Reference in New Issue
Block a user