public class Debug extends Object
Modifier and Type | Method and Description |
---|---|
static void |
dump(byte[] data)
Output byte[] content in traditional dump format.
|
static void |
dump(byte[] data,
int len)
Output byte[] content in traditional dump format.
|
static void |
dump(byte[] data,
int len,
PrintStream out)
Output byte[] content in traditional dump format.
|
static void |
setOpcodeTrace(int mode)
Enables the JVM opcode trace mode.
|
public static void setOpcodeTrace(int mode)
mode
- true to enablepublic static void dump(byte[] data)
data
- byte array to be dumpedpublic static void dump(byte[] data, int len)
data
- byte array to be dumpedlen
- count of bytes to dumppublic static void dump(byte[] data, int len, PrintStream out)
data
- byte array to be dumpedlen
- count of bytes to dumpout
- PrintStream to receive the dump