new debugging options

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@725 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 8646052329
commit b078b60046
  1. 10
      jode/jode/GlobalOptions.java

@ -40,14 +40,14 @@ public class GlobalOptions {
public static final int DEBUG_LVT = 0x040;
public static final int DEBUG_CHECK = 0x080;
public static final int DEBUG_LOCALS = 0x100;
public static final int DEBUG_CONSTRS = 0x200;
public static final String[] debuggingNames = {
"bytecode", "verifier", "types", "flow",
"inout", "analyze", "lvt", "check", "locals"
"inout", "analyze", "lvt", "check", "locals",
"constructors",
};
public static boolean sanityChecks = false;
public static void usageDebugging() {
err.println("Debugging option: --debug=flag1,flag2,...");
err.println("possible flags:");
@ -67,6 +67,10 @@ public class GlobalOptions {
"dump LocalVariableTable.");
err.println("\tcheck " +
"do time consuming sanity checks.");
err.println("\tlocals " +
"dump local merging information.");
err.println("\tconstructors " +
"dump constructor simplification.");
System.exit(0);
}

Loading…
Cancel
Save