Doesn't work and I don't know why

This commit is contained in:
Adam
2015-02-01 22:19:28 -05:00
parent 027dc6eff9
commit d00e5b03e1
5 changed files with 12 additions and 8 deletions

View File

@@ -67,17 +67,14 @@ public class Frame
Instruction i = ins.findInstruction(pc);
String desc = i.getDesc(this);
if (desc != null)
System.out.println(desc);
try
{
i.execute(this);
System.out.println(i.getDesc(this));
}
catch (Throwable ex)
{
System.err.println("Error executing instruction in " + method.getName() + " " + method.getDescriptor() + " in class " + method.getMethods().getClassFile().getName() + " at pc " + pc);
System.err.println("Error executing instruction " + i.getDesc(this) + " in " + method.getName() + " " + method.getDescriptor() + " in class " + method.getMethods().getClassFile().getName() + " at pc " + pc);
System.err.println("Frame stack (grows downward):");
while (stack.getSize() > 0)
{