public class com.sun.tools.example.debug.tty.TTY implements com.sun.tools.example.debug.tty.EventNotifier
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.example.debug.tty.TTY
super_class: java.lang.Object
{
com.sun.tools.example.debug.tty.EventHandler handler;
descriptor: Lcom/sun/tools/example/debug/tty/EventHandler;
flags: (0x0000)
private java.util.List<java.lang.String> monitorCommands;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/String;>;
private int monitorCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private static final java.lang.String progname;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "jdb"
private volatile boolean shuttingDown;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private static final java.lang.String[][] commandList;
descriptor: [[Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=0, args_size=0
0: bipush 64
anewarray java.lang.String[]
dup
iconst_0
1: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "!!"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
iconst_1
2: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "?"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
iconst_2
3: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "bytecodes"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
iconst_3
4: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "catch"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
iconst_4
5: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "class"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
iconst_5
6: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "classes"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 6
7: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "classpath"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 7
8: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "clear"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 8
9: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "connectors"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 9
10: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "cont"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 10
11: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "dbgtrace"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 11
12: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "disablegc"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 12
13: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "down"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 13
14: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "dump"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 14
15: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "enablegc"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 15
16: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "eval"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 16
17: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "exclude"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 17
18: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "exit"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 18
19: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "extension"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 19
20: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "fields"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 20
21: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "gc"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 21
22: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "help"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 22
23: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "ignore"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 23
24: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "interrupt"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 24
25: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "kill"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 25
26: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "lines"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 26
27: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "list"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 27
28: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "load"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 28
29: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "locals"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 29
30: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "lock"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 30
31: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "memory"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 31
32: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "methods"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 32
33: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "monitor"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 33
34: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "next"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 34
35: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "pop"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 35
36: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "print"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 36
37: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "quit"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 37
38: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "read"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 38
39: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "redefine"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 39
40: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "reenter"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 40
41: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "resume"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 41
42: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "run"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 42
43: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "save"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 43
44: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "set"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 44
45: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "sourcepath"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 45
46: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "step"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 46
47: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "stepi"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 47
48: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "stop"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 48
49: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "suspend"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 49
50: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "thread"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 50
51: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "threadgroup"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 51
52: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "threadgroups"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 52
53: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "threadlocks"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 53
54: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "threads"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 54
55: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "trace"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 55
56: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "unmonitor"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 56
57: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "untrace"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 57
58: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "unwatch"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 58
59: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "up"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 59
60: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "use"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 60
61: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "version"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 61
62: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "watch"
aastore
dup
iconst_1
ldc "y"
aastore
dup
iconst_2
ldc "n"
aastore
aastore
dup
bipush 62
63: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "where"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
dup
bipush 63
64: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "wherei"
aastore
dup
iconst_1
ldc "n"
aastore
dup
iconst_2
ldc "y"
aastore
aastore
65: putstatic com.sun.tools.example.debug.tty.TTY.commandList:[[Ljava/lang/String;
66: return
LocalVariableTable:
Start End Slot Name Signature
public void setShuttingDown(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.sun.tools.example.debug.tty.TTY.shuttingDown:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 2 1 s Z
MethodParameters:
Name Flags
s
public boolean isShuttingDown();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.tty.TTY.shuttingDown:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/tty/TTY;
public void vmStartEvent(com.sun.jdi.event.VMStartEvent);
descriptor: (Lcom/sun/jdi/event/VMStartEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: invokestatic java.lang.Thread.yield:()V
1: ldc "VM Started:"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.lnprint:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 3 1 se Lcom/sun/jdi/event/VMStartEvent;
MethodParameters:
Name Flags
se
public void vmDeathEvent(com.sun.jdi.event.VMDeathEvent);
descriptor: (Lcom/sun/jdi/event/VMDeathEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 1 1 e Lcom/sun/jdi/event/VMDeathEvent;
MethodParameters:
Name Flags
e
public void vmDisconnectEvent(com.sun.jdi.event.VMDisconnectEvent);
descriptor: (Lcom/sun/jdi/event/VMDisconnectEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 1 1 e Lcom/sun/jdi/event/VMDisconnectEvent;
MethodParameters:
Name Flags
e
public void threadStartEvent(com.sun.jdi.event.ThreadStartEvent);
descriptor: (Lcom/sun/jdi/event/ThreadStartEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 1 1 e Lcom/sun/jdi/event/ThreadStartEvent;
MethodParameters:
Name Flags
e
public void threadDeathEvent(com.sun.jdi.event.ThreadDeathEvent);
descriptor: (Lcom/sun/jdi/event/ThreadDeathEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 1 1 e Lcom/sun/jdi/event/ThreadDeathEvent;
MethodParameters:
Name Flags
e
public void classPrepareEvent(com.sun.jdi.event.ClassPrepareEvent);
descriptor: (Lcom/sun/jdi/event/ClassPrepareEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 1 1 e Lcom/sun/jdi/event/ClassPrepareEvent;
MethodParameters:
Name Flags
e
public void classUnloadEvent(com.sun.jdi.event.ClassUnloadEvent);
descriptor: (Lcom/sun/jdi/event/ClassUnloadEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 1 1 e Lcom/sun/jdi/event/ClassUnloadEvent;
MethodParameters:
Name Flags
e
public void breakpointEvent(com.sun.jdi.event.BreakpointEvent);
descriptor: (Lcom/sun/jdi/event/BreakpointEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: invokestatic java.lang.Thread.yield:()V
1: ldc "Breakpoint hit:"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.lnprint:(Ljava/lang/String;)V
2: aload 1
invokeinterface com.sun.jdi.event.BreakpointEvent.request:()Lcom/sun/jdi/request/EventRequest;
invokeinterface com.sun.jdi.request.EventRequest.suspendPolicy:()I
istore 2
start local 2 3: iload 2
tableswitch { // 0 - 1
0: 4
1: 4
default: 6
}
4: StackMap locals: int
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.TTY.printBreakpointLocation:(Lcom/sun/jdi/event/BreakpointEvent;)V
5: invokestatic com.sun.tools.example.debug.tty.MessageOutput.printPrompt:()V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 7 1 be Lcom/sun/jdi/event/BreakpointEvent;
3 7 2 suspendPolicy I
MethodParameters:
Name Flags
be
public void fieldWatchEvent(com.sun.jdi.event.WatchpointEvent);
descriptor: (Lcom/sun/jdi/event/WatchpointEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface com.sun.jdi.event.WatchpointEvent.field:()Lcom/sun/jdi/Field;
astore 2
start local 2 1: aload 1
invokeinterface com.sun.jdi.event.WatchpointEvent.object:()Lcom/sun/jdi/ObjectReference;
pop
2: invokestatic java.lang.Thread.yield:()V
3: aload 1
instanceof com.sun.jdi.event.ModificationWatchpointEvent
ifeq 10
4: ldc "Field access encountered before after"
5: iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
6: aload 1
invokeinterface com.sun.jdi.event.WatchpointEvent.valueCurrent:()Lcom/sun/jdi/Value;
aastore
dup
iconst_2
7: aload 1
checkcast com.sun.jdi.event.ModificationWatchpointEvent
invokeinterface com.sun.jdi.event.ModificationWatchpointEvent.valueToBe:()Lcom/sun/jdi/Value;
aastore
8: invokestatic com.sun.tools.example.debug.tty.MessageOutput.lnprint:(Ljava/lang/String;[Ljava/lang/Object;)V
9: goto 11
10: StackMap locals: com.sun.jdi.Field
StackMap stack:
ldc "Field access encountered"
aload 2
invokeinterface com.sun.jdi.Field.toString:()Ljava/lang/String;
invokestatic com.sun.tools.example.debug.tty.MessageOutput.lnprint:(Ljava/lang/String;Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 12 1 fwe Lcom/sun/jdi/event/WatchpointEvent;
1 12 2 field Lcom/sun/jdi/Field;
MethodParameters:
Name Flags
fwe
public void stepEvent(com.sun.jdi.event.StepEvent);
descriptor: (Lcom/sun/jdi/event/StepEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: invokestatic java.lang.Thread.yield:()V
1: ldc "Step completed:"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.lnprint:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 3 1 se Lcom/sun/jdi/event/StepEvent;
MethodParameters:
Name Flags
se
public void exceptionEvent(com.sun.jdi.event.ExceptionEvent);
descriptor: (Lcom/sun/jdi/event/ExceptionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: invokestatic java.lang.Thread.yield:()V
1: aload 1
invokeinterface com.sun.jdi.event.ExceptionEvent.catchLocation:()Lcom/sun/jdi/Location;
astore 2
start local 2 2: aload 2
ifnonnull 7
3: ldc "Exception occurred uncaught"
4: aload 1
invokeinterface com.sun.jdi.event.ExceptionEvent.exception:()Lcom/sun/jdi/ObjectReference;
invokeinterface com.sun.jdi.ObjectReference.referenceType:()Lcom/sun/jdi/ReferenceType;
invokeinterface com.sun.jdi.ReferenceType.name:()Ljava/lang/String;
5: invokestatic com.sun.tools.example.debug.tty.MessageOutput.lnprint:(Ljava/lang/String;Ljava/lang/String;)V
6: goto 11
7: StackMap locals: com.sun.jdi.Location
StackMap stack:
ldc "Exception occurred caught"
8: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
invokeinterface com.sun.jdi.event.ExceptionEvent.exception:()Lcom/sun/jdi/ObjectReference;
invokeinterface com.sun.jdi.ObjectReference.referenceType:()Lcom/sun/jdi/ReferenceType;
invokeinterface com.sun.jdi.ReferenceType.name:()Ljava/lang/String;
aastore
dup
iconst_1
9: aload 2
invokestatic com.sun.tools.example.debug.tty.Commands.locationString:(Lcom/sun/jdi/Location;)Ljava/lang/String;
aastore
10: invokestatic com.sun.tools.example.debug.tty.MessageOutput.lnprint:(Ljava/lang/String;[Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 12 1 ee Lcom/sun/jdi/event/ExceptionEvent;
2 12 2 catchLocation Lcom/sun/jdi/Location;
MethodParameters:
Name Flags
ee
public void methodEntryEvent(com.sun.jdi.event.MethodEntryEvent);
descriptor: (Lcom/sun/jdi/event/MethodEntryEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: invokestatic java.lang.Thread.yield:()V
1: aload 1
invokeinterface com.sun.jdi.event.MethodEntryEvent.request:()Lcom/sun/jdi/request/EventRequest;
invokeinterface com.sun.jdi.request.EventRequest.suspendPolicy:()I
ifeq 4
2: ldc "Method entered:"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.lnprint:(Ljava/lang/String;)V
3: goto 6
4: StackMap locals:
StackMap stack:
ldc "Method entered:"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.print:(Ljava/lang/String;)V
5: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.TTY.printLocationOfEvent:(Lcom/sun/jdi/event/LocatableEvent;)V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 7 1 me Lcom/sun/jdi/event/MethodEntryEvent;
MethodParameters:
Name Flags
me
public boolean methodExitEvent(com.sun.jdi.event.MethodExitEvent);
descriptor: (Lcom/sun/jdi/event/MethodExitEvent;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: invokestatic java.lang.Thread.yield:()V
1: invokestatic com.sun.tools.example.debug.tty.Env.atExitMethod:()Lcom/sun/jdi/Method;
astore 2
start local 2 2: aload 1
invokeinterface com.sun.jdi.event.MethodExitEvent.method:()Lcom/sun/jdi/Method;
astore 3
start local 3 3: aload 2
ifnull 4
aload 2
aload 3
invokeinterface com.sun.jdi.Method.equals:(Ljava/lang/Object;)Z
ifeq 13
4: StackMap locals: com.sun.jdi.Method com.sun.jdi.Method
StackMap stack:
aload 1
invokeinterface com.sun.jdi.event.MethodExitEvent.request:()Lcom/sun/jdi/request/EventRequest;
invokeinterface com.sun.jdi.request.EventRequest.suspendPolicy:()I
ifeq 6
5: invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:()V
6: StackMap locals:
StackMap stack:
invokestatic com.sun.tools.example.debug.tty.Env.vm:()Lcom/sun/jdi/VirtualMachine;
invokeinterface com.sun.jdi.VirtualMachine.canGetMethodReturnValues:()Z
ifeq 9
7: ldc "Method exitedValue:"
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokeinterface com.sun.jdi.event.MethodExitEvent.returnValue:()Lcom/sun/jdi/Value;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.tools.example.debug.tty.MessageOutput.print:(Ljava/lang/String;Ljava/lang/String;)V
8: goto 10
9: StackMap locals:
StackMap stack:
ldc "Method exited:"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.print:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 1
invokeinterface com.sun.jdi.event.MethodExitEvent.request:()Lcom/sun/jdi/request/EventRequest;
invokeinterface com.sun.jdi.request.EventRequest.suspendPolicy:()I
ifne 12
11: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.TTY.printLocationOfEvent:(Lcom/sun/jdi/event/LocatableEvent;)V
12: StackMap locals:
StackMap stack:
iconst_1
ireturn
13: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 14 1 me Lcom/sun/jdi/event/MethodExitEvent;
2 14 2 mmm Lcom/sun/jdi/Method;
3 14 3 meMethod Lcom/sun/jdi/Method;
MethodParameters:
Name Flags
me
public void vmInterrupted();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: invokestatic java.lang.Thread.yield:()V
1: aload 0
invokevirtual com.sun.tools.example.debug.tty.TTY.printCurrentLocation:()V
2: aload 0
getfield com.sun.tools.example.debug.tty.TTY.monitorCommands:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 7
StackMap locals: com.sun.tools.example.debug.tty.TTY top java.util.Iterator
StackMap stack:
3: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 4: new java.util.StringTokenizer
dup
aload 1
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 3
start local 3 5: aload 3
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
pop
6: aload 0
aload 3
invokevirtual com.sun.tools.example.debug.tty.TTY.executeCommand:(Ljava/util/StringTokenizer;)V
end local 3 end local 1 7: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: invokestatic com.sun.tools.example.debug.tty.MessageOutput.printPrompt:()V
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/example/debug/tty/TTY;
4 7 1 cmd Ljava/lang/String;
5 7 3 t Ljava/util/StringTokenizer;
public void receivedEvent(com.sun.jdi.event.Event);
descriptor: (Lcom/sun/jdi/event/Event;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 1 1 event Lcom/sun/jdi/event/Event;
MethodParameters:
Name Flags
event
private void printBaseLocation(java.lang.String, com.sun.jdi.Location);
descriptor: (Ljava/lang/String;Lcom/sun/jdi/Location;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: ldc "location"
1: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
2: aload 2
invokestatic com.sun.tools.example.debug.tty.Commands.locationString:(Lcom/sun/jdi/Location;)Ljava/lang/String;
aastore
3: invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;[Ljava/lang/Object;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 5 1 threadName Ljava/lang/String;
0 5 2 loc Lcom/sun/jdi/Location;
MethodParameters:
Name Flags
threadName
loc
private void printBreakpointLocation(com.sun.jdi.event.BreakpointEvent);
descriptor: (Lcom/sun/jdi/event/BreakpointEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface com.sun.jdi.event.BreakpointEvent.thread:()Lcom/sun/jdi/ThreadReference;
invokeinterface com.sun.jdi.ThreadReference.name:()Ljava/lang/String;
aload 1
invokeinterface com.sun.jdi.event.BreakpointEvent.location:()Lcom/sun/jdi/Location;
invokevirtual com.sun.tools.example.debug.tty.TTY.printLocationWithSourceLine:(Ljava/lang/String;Lcom/sun/jdi/Location;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 2 1 be Lcom/sun/jdi/event/BreakpointEvent;
MethodParameters:
Name Flags
be
private void printCurrentLocation();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: invokestatic com.sun.tools.example.debug.tty.ThreadInfo.getCurrentThreadInfo:()Lcom/sun/tools/example/debug/tty/ThreadInfo;
astore 1
start local 1 1: aload 1
invokevirtual com.sun.tools.example.debug.tty.ThreadInfo.getCurrentFrame:()Lcom/sun/jdi/StackFrame;
astore 2
start local 2 2: goto 6
end local 2 StackMap locals: com.sun.tools.example.debug.tty.TTY com.sun.tools.example.debug.tty.ThreadInfo
StackMap stack: com.sun.jdi.IncompatibleThreadStateException
3: pop
4: ldc "<location unavailable>"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;)V
5: return
start local 2 6: StackMap locals: com.sun.jdi.StackFrame
StackMap stack:
aload 2
ifnonnull 9
7: ldc "No frames on the current call stack"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;)V
8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.ThreadInfo.getThread:()Lcom/sun/jdi/ThreadReference;
invokeinterface com.sun.jdi.ThreadReference.name:()Ljava/lang/String;
aload 2
invokeinterface com.sun.jdi.StackFrame.location:()Lcom/sun/jdi/Location;
invokevirtual com.sun.tools.example.debug.tty.TTY.printLocationWithSourceLine:(Ljava/lang/String;Lcom/sun/jdi/Location;)V
10: StackMap locals:
StackMap stack:
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:()V
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/example/debug/tty/TTY;
1 12 1 threadInfo Lcom/sun/tools/example/debug/tty/ThreadInfo;
2 3 2 frame Lcom/sun/jdi/StackFrame;
6 12 2 frame Lcom/sun/jdi/StackFrame;
Exception table:
from to target type
1 2 3 Class com.sun.jdi.IncompatibleThreadStateException
private void printLocationWithSourceLine(java.lang.String, com.sun.jdi.Location);
descriptor: (Ljava/lang/String;Lcom/sun/jdi/Location;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual com.sun.tools.example.debug.tty.TTY.printBaseLocation:(Ljava/lang/String;Lcom/sun/jdi/Location;)V
1: aload 2
invokeinterface com.sun.jdi.Location.lineNumber:()I
iconst_m1
if_icmpeq 11
2: aload 2
aload 2
invokeinterface com.sun.jdi.Location.lineNumber:()I
invokestatic com.sun.tools.example.debug.tty.Env.sourceLine:(Lcom/sun/jdi/Location;I)Ljava/lang/String;
astore 3
start local 3 3: goto 6
end local 3 StackMap locals:
StackMap stack: java.io.IOException
4: pop
5: aconst_null
astore 3
start local 3 6: StackMap locals: java.lang.String
StackMap stack:
aload 3
ifnull 11
7: ldc "source line number and line"
8: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
invokeinterface com.sun.jdi.Location.lineNumber:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
9: aload 3
aastore
10: invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 3 11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 12 1 threadName Ljava/lang/String;
0 12 2 loc Lcom/sun/jdi/Location;
3 4 3 line Ljava/lang/String;
6 11 3 line Ljava/lang/String;
Exception table:
from to target type
2 3 4 Class java.io.IOException
MethodParameters:
Name Flags
threadName
loc
private void printLocationOfEvent(com.sun.jdi.event.LocatableEvent);
descriptor: (Lcom/sun/jdi/event/LocatableEvent;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface com.sun.jdi.event.LocatableEvent.thread:()Lcom/sun/jdi/ThreadReference;
invokeinterface com.sun.jdi.ThreadReference.name:()Ljava/lang/String;
aload 1
invokeinterface com.sun.jdi.event.LocatableEvent.location:()Lcom/sun/jdi/Location;
invokevirtual com.sun.tools.example.debug.tty.TTY.printBaseLocation:(Ljava/lang/String;Lcom/sun/jdi/Location;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 2 1 theEvent Lcom/sun/jdi/event/LocatableEvent;
MethodParameters:
Name Flags
theEvent
void help();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "zz help text"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/tty/TTY;
private int isCommand(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: getstatic com.sun.tools.example.debug.tty.TTY.commandList:[[Ljava/lang/String;
arraylength
iconst_1
isub
istore 3
start local 3 2: goto 13
3: StackMap locals: int int
StackMap stack:
iload 2
iload 3
iadd
iconst_1
iushr
istore 4
start local 4 4: getstatic com.sun.tools.example.debug.tty.TTY.commandList:[[Ljava/lang/String;
iload 4
aaload
iconst_0
aaload
astore 5
start local 5 5: aload 5
aload 1
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
istore 6
start local 6 6: iload 6
ifge 9
7: iload 4
iconst_1
iadd
istore 2
8: goto 13
StackMap locals: int java.lang.String int
StackMap stack:
9: iload 6
ifle 12
10: iload 4
iconst_1
isub
istore 3
11: goto 13
12: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 6 end local 5 end local 4 13: StackMap locals:
StackMap stack:
iload 2
iload 3
if_icmple 3
14: iload 2
iconst_1
iadd
ineg
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 15 1 key Ljava/lang/String;
1 15 2 low I
2 15 3 high I
4 13 4 mid I
5 13 5 midVal Ljava/lang/String;
6 13 6 compare I
MethodParameters:
Name Flags
key
private boolean isDisconnectCmd(int);
descriptor: (I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
getstatic com.sun.tools.example.debug.tty.TTY.commandList:[[Ljava/lang/String;
arraylength
if_icmplt 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
getstatic com.sun.tools.example.debug.tty.TTY.commandList:[[Ljava/lang/String;
iload 1
aaload
iconst_1
aaload
ldc "y"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 3 1 ii I
MethodParameters:
Name Flags
ii
private boolean isReadOnlyCmd(int);
descriptor: (I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
getstatic com.sun.tools.example.debug.tty.TTY.commandList:[[Ljava/lang/String;
arraylength
if_icmplt 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
getstatic com.sun.tools.example.debug.tty.TTY.commandList:[[Ljava/lang/String;
iload 1
aaload
iconst_2
aaload
ldc "y"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 3 1 ii I
MethodParameters:
Name Flags
ii
void executeCommand(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0000)
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 2
start local 2 1: iconst_1
istore 3
start local 3 2: aload 2
ldc "#"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 245
3: aload 2
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isDigit:(C)Z
ifeq 14
aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 14
4: aload 2
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 4
start local 4 5: aload 1
ldc ""
invokevirtual java.util.StringTokenizer.nextToken:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 6: goto 9
7: StackMap locals: com.sun.tools.example.debug.tty.TTY java.util.StringTokenizer java.lang.String int int java.lang.String
StackMap stack:
aload 0
new java.util.StringTokenizer
dup
aload 5
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
invokevirtual com.sun.tools.example.debug.tty.TTY.executeCommand:(Ljava/util/StringTokenizer;)V
8: iconst_0
istore 3
9: StackMap locals:
StackMap stack:
iload 4
iinc 4 -1
ifgt 7
end local 5 end local 4 10: goto 245
StackMap locals: com.sun.tools.example.debug.tty.TTY java.util.StringTokenizer java.lang.String int
StackMap stack: java.lang.NumberFormatException
11: pop
12: ldc "Unrecognized command. Try help..."
aload 2
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
13: goto 245
14: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual com.sun.tools.example.debug.tty.TTY.isCommand:(Ljava/lang/String;)I
istore 4
start local 4 15: iload 4
ifge 18
16: ldc "Unrecognized command. Try help..."
aload 2
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
17: goto 245
StackMap locals: int
StackMap stack:
18: invokestatic com.sun.tools.example.debug.tty.Env.connection:()Lcom/sun/tools/example/debug/tty/VMConnection;
invokevirtual com.sun.tools.example.debug.tty.VMConnection.isOpen:()Z
ifne 23
aload 0
iload 4
invokevirtual com.sun.tools.example.debug.tty.TTY.isDisconnectCmd:(I)Z
ifne 23
19: ldc "Command not valid until the VM is started with the run command"
20: aload 2
21: invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
22: goto 245
StackMap locals:
StackMap stack:
23: invokestatic com.sun.tools.example.debug.tty.Env.connection:()Lcom/sun/tools/example/debug/tty/VMConnection;
invokevirtual com.sun.tools.example.debug.tty.VMConnection.isOpen:()Z
ifeq 29
invokestatic com.sun.tools.example.debug.tty.Env.vm:()Lcom/sun/jdi/VirtualMachine;
invokeinterface com.sun.jdi.VirtualMachine.canBeModified:()Z
ifne 29
24: aload 0
iload 4
invokevirtual com.sun.tools.example.debug.tty.TTY.isReadOnlyCmd:(I)Z
ifne 29
25: ldc "Command is not supported on a read-only VM connection"
26: aload 2
27: invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
28: goto 245
29: StackMap locals:
StackMap stack:
new com.sun.tools.example.debug.tty.Commands
dup
invokespecial com.sun.tools.example.debug.tty.Commands.<init>:()V
astore 5
start local 5 30: aload 2
ldc "print"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 34
31: aload 5
aload 1
iconst_0
invokevirtual com.sun.tools.example.debug.tty.Commands.commandPrint:(Ljava/util/StringTokenizer;Z)V
32: iconst_0
istore 3
33: goto 245
StackMap locals: com.sun.tools.example.debug.tty.Commands
StackMap stack:
34: aload 2
ldc "eval"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 38
35: aload 5
aload 1
iconst_0
invokevirtual com.sun.tools.example.debug.tty.Commands.commandPrint:(Ljava/util/StringTokenizer;Z)V
36: iconst_0
istore 3
37: goto 245
StackMap locals:
StackMap stack:
38: aload 2
ldc "set"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 42
39: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandSet:(Ljava/util/StringTokenizer;)V
40: iconst_0
istore 3
41: goto 245
StackMap locals:
StackMap stack:
42: aload 2
ldc "dump"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 46
43: aload 5
aload 1
iconst_1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandPrint:(Ljava/util/StringTokenizer;Z)V
44: iconst_0
istore 3
45: goto 245
StackMap locals:
StackMap stack:
46: aload 2
ldc "locals"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 49
47: aload 5
invokevirtual com.sun.tools.example.debug.tty.Commands.commandLocals:()V
48: goto 245
StackMap locals:
StackMap stack:
49: aload 2
ldc "classes"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 52
50: aload 5
invokevirtual com.sun.tools.example.debug.tty.Commands.commandClasses:()V
51: goto 245
StackMap locals:
StackMap stack:
52: aload 2
ldc "class"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 55
53: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandClass:(Ljava/util/StringTokenizer;)V
54: goto 245
StackMap locals:
StackMap stack:
55: aload 2
ldc "connectors"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 58
56: aload 5
invokestatic com.sun.jdi.Bootstrap.virtualMachineManager:()Lcom/sun/jdi/VirtualMachineManager;
invokevirtual com.sun.tools.example.debug.tty.Commands.commandConnectors:(Lcom/sun/jdi/VirtualMachineManager;)V
57: goto 245
StackMap locals:
StackMap stack:
58: aload 2
ldc "methods"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 61
59: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandMethods:(Ljava/util/StringTokenizer;)V
60: goto 245
StackMap locals:
StackMap stack:
61: aload 2
ldc "fields"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 64
62: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandFields:(Ljava/util/StringTokenizer;)V
63: goto 245
StackMap locals:
StackMap stack:
64: aload 2
ldc "threads"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 67
65: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandThreads:(Ljava/util/StringTokenizer;)V
66: goto 245
StackMap locals:
StackMap stack:
67: aload 2
ldc "thread"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 70
68: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandThread:(Ljava/util/StringTokenizer;)V
69: goto 245
StackMap locals:
StackMap stack:
70: aload 2
ldc "suspend"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 73
71: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandSuspend:(Ljava/util/StringTokenizer;)V
72: goto 245
StackMap locals:
StackMap stack:
73: aload 2
ldc "resume"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 76
74: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandResume:(Ljava/util/StringTokenizer;)V
75: goto 245
StackMap locals:
StackMap stack:
76: aload 2
ldc "cont"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 81
77: iconst_1
invokestatic com.sun.tools.example.debug.tty.MessageOutput.printPrompt:(Z)V
78: iconst_0
istore 3
79: aload 5
invokevirtual com.sun.tools.example.debug.tty.Commands.commandCont:()V
80: goto 245
StackMap locals:
StackMap stack:
81: aload 2
ldc "threadgroups"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 84
82: aload 5
invokevirtual com.sun.tools.example.debug.tty.Commands.commandThreadGroups:()V
83: goto 245
StackMap locals:
StackMap stack:
84: aload 2
ldc "threadgroup"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 87
85: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandThreadGroup:(Ljava/util/StringTokenizer;)V
86: goto 245
StackMap locals:
StackMap stack:
87: aload 2
ldc "catch"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 90
88: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandCatchException:(Ljava/util/StringTokenizer;)V
89: goto 245
StackMap locals:
StackMap stack:
90: aload 2
ldc "ignore"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 93
91: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandIgnoreException:(Ljava/util/StringTokenizer;)V
92: goto 245
StackMap locals:
StackMap stack:
93: aload 2
ldc "step"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 98
94: iconst_1
invokestatic com.sun.tools.example.debug.tty.MessageOutput.printPrompt:(Z)V
95: iconst_0
istore 3
96: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandStep:(Ljava/util/StringTokenizer;)V
97: goto 245
StackMap locals:
StackMap stack:
98: aload 2
ldc "stepi"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 103
99: iconst_1
invokestatic com.sun.tools.example.debug.tty.MessageOutput.printPrompt:(Z)V
100: iconst_0
istore 3
101: aload 5
invokevirtual com.sun.tools.example.debug.tty.Commands.commandStepi:()V
102: goto 245
StackMap locals:
StackMap stack:
103: aload 2
ldc "next"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 108
104: iconst_1
invokestatic com.sun.tools.example.debug.tty.MessageOutput.printPrompt:(Z)V
105: iconst_0
istore 3
106: aload 5
invokevirtual com.sun.tools.example.debug.tty.Commands.commandNext:()V
107: goto 245
StackMap locals:
StackMap stack:
108: aload 2
ldc "kill"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 112
109: iconst_0
istore 3
110: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandKill:(Ljava/util/StringTokenizer;)V
111: goto 245
StackMap locals:
StackMap stack:
112: aload 2
ldc "interrupt"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 115
113: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandInterrupt:(Ljava/util/StringTokenizer;)V
114: goto 245
StackMap locals:
StackMap stack:
115: aload 2
ldc "trace"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 118
116: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandTrace:(Ljava/util/StringTokenizer;)V
117: goto 245
StackMap locals:
StackMap stack:
118: aload 2
ldc "untrace"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 121
119: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandUntrace:(Ljava/util/StringTokenizer;)V
120: goto 245
StackMap locals:
StackMap stack:
121: aload 2
ldc "where"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 124
122: aload 5
aload 1
iconst_0
invokevirtual com.sun.tools.example.debug.tty.Commands.commandWhere:(Ljava/util/StringTokenizer;Z)V
123: goto 245
StackMap locals:
StackMap stack:
124: aload 2
ldc "wherei"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 127
125: aload 5
aload 1
iconst_1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandWhere:(Ljava/util/StringTokenizer;Z)V
126: goto 245
StackMap locals:
StackMap stack:
127: aload 2
ldc "up"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 130
128: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandUp:(Ljava/util/StringTokenizer;)V
129: goto 245
StackMap locals:
StackMap stack:
130: aload 2
ldc "down"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 133
131: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandDown:(Ljava/util/StringTokenizer;)V
132: goto 245
StackMap locals:
StackMap stack:
133: aload 2
ldc "load"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 136
134: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandLoad:(Ljava/util/StringTokenizer;)V
135: goto 245
StackMap locals:
StackMap stack:
136: aload 2
ldc "run"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 141
137: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandRun:(Ljava/util/StringTokenizer;)V
138: aload 0
getfield com.sun.tools.example.debug.tty.TTY.handler:Lcom/sun/tools/example/debug/tty/EventHandler;
ifnonnull 245
invokestatic com.sun.tools.example.debug.tty.Env.connection:()Lcom/sun/tools/example/debug/tty/VMConnection;
invokevirtual com.sun.tools.example.debug.tty.VMConnection.isOpen:()Z
ifeq 245
139: aload 0
new com.sun.tools.example.debug.tty.EventHandler
dup
aload 0
iconst_0
invokespecial com.sun.tools.example.debug.tty.EventHandler.<init>:(Lcom/sun/tools/example/debug/tty/EventNotifier;Z)V
putfield com.sun.tools.example.debug.tty.TTY.handler:Lcom/sun/tools/example/debug/tty/EventHandler;
140: goto 245
StackMap locals:
StackMap stack:
141: aload 2
ldc "memory"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 144
142: aload 5
invokevirtual com.sun.tools.example.debug.tty.Commands.commandMemory:()V
143: goto 245
StackMap locals:
StackMap stack:
144: aload 2
ldc "gc"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 147
145: aload 5
invokevirtual com.sun.tools.example.debug.tty.Commands.commandGC:()V
146: goto 245
StackMap locals:
StackMap stack:
147: aload 2
ldc "stop"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 150
148: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandStop:(Ljava/util/StringTokenizer;)V
149: goto 245
StackMap locals:
StackMap stack:
150: aload 2
ldc "clear"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 153
151: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandClear:(Ljava/util/StringTokenizer;)V
152: goto 245
StackMap locals:
StackMap stack:
153: aload 2
ldc "watch"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 156
154: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandWatch:(Ljava/util/StringTokenizer;)V
155: goto 245
StackMap locals:
StackMap stack:
156: aload 2
ldc "unwatch"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 159
157: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandUnwatch:(Ljava/util/StringTokenizer;)V
158: goto 245
StackMap locals:
StackMap stack:
159: aload 2
ldc "list"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 162
160: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandList:(Ljava/util/StringTokenizer;)V
161: goto 245
StackMap locals:
StackMap stack:
162: aload 2
ldc "lines"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 165
163: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandLines:(Ljava/util/StringTokenizer;)V
164: goto 245
StackMap locals:
StackMap stack:
165: aload 2
ldc "classpath"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 168
166: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandClasspath:(Ljava/util/StringTokenizer;)V
167: goto 245
StackMap locals:
StackMap stack:
168: aload 2
ldc "use"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 169
aload 2
ldc "sourcepath"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 171
169: StackMap locals:
StackMap stack:
aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandUse:(Ljava/util/StringTokenizer;)V
170: goto 245
StackMap locals:
StackMap stack:
171: aload 2
ldc "monitor"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 174
172: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.TTY.monitorCommand:(Ljava/util/StringTokenizer;)V
173: goto 245
StackMap locals:
StackMap stack:
174: aload 2
ldc "unmonitor"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 177
175: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.TTY.unmonitorCommand:(Ljava/util/StringTokenizer;)V
176: goto 245
StackMap locals:
StackMap stack:
177: aload 2
ldc "lock"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 181
178: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandLock:(Ljava/util/StringTokenizer;)V
179: iconst_0
istore 3
180: goto 245
StackMap locals:
StackMap stack:
181: aload 2
ldc "threadlocks"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 184
182: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandThreadlocks:(Ljava/util/StringTokenizer;)V
183: goto 245
StackMap locals:
StackMap stack:
184: aload 2
ldc "disablegc"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 188
185: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandDisableGC:(Ljava/util/StringTokenizer;)V
186: iconst_0
istore 3
187: goto 245
StackMap locals:
StackMap stack:
188: aload 2
ldc "enablegc"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 192
189: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandEnableGC:(Ljava/util/StringTokenizer;)V
190: iconst_0
istore 3
191: goto 245
StackMap locals:
StackMap stack:
192: aload 2
ldc "save"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 196
193: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandSave:(Ljava/util/StringTokenizer;)V
194: iconst_0
istore 3
195: goto 245
StackMap locals:
StackMap stack:
196: aload 2
ldc "bytecodes"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 199
197: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandBytecodes:(Ljava/util/StringTokenizer;)V
198: goto 245
StackMap locals:
StackMap stack:
199: aload 2
ldc "redefine"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 202
200: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandRedefine:(Ljava/util/StringTokenizer;)V
201: goto 245
StackMap locals:
StackMap stack:
202: aload 2
ldc "pop"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 205
203: aload 5
aload 1
iconst_0
invokevirtual com.sun.tools.example.debug.tty.Commands.commandPopFrames:(Ljava/util/StringTokenizer;Z)V
204: goto 245
StackMap locals:
StackMap stack:
205: aload 2
ldc "reenter"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 208
206: aload 5
aload 1
iconst_1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandPopFrames:(Ljava/util/StringTokenizer;Z)V
207: goto 245
StackMap locals:
StackMap stack:
208: aload 2
ldc "extension"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 211
209: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandExtension:(Ljava/util/StringTokenizer;)V
210: goto 245
StackMap locals:
StackMap stack:
211: aload 2
ldc "exclude"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 214
212: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandExclude:(Ljava/util/StringTokenizer;)V
213: goto 245
StackMap locals:
StackMap stack:
214: aload 2
ldc "read"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 217
215: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.tty.TTY.readCommand:(Ljava/util/StringTokenizer;)V
216: goto 245
StackMap locals:
StackMap stack:
217: aload 2
ldc "dbgtrace"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 220
218: aload 5
aload 1
invokevirtual com.sun.tools.example.debug.tty.Commands.commandDbgTrace:(Ljava/util/StringTokenizer;)V
219: goto 245
StackMap locals:
StackMap stack:
220: aload 2
ldc "help"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 221
aload 2
ldc "?"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 223
221: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.tools.example.debug.tty.TTY.help:()V
222: goto 245
StackMap locals:
StackMap stack:
223: aload 2
ldc "version"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 228
224: aload 5
ldc "jdb"
225: invokestatic com.sun.jdi.Bootstrap.virtualMachineManager:()Lcom/sun/jdi/VirtualMachineManager;
226: invokevirtual com.sun.tools.example.debug.tty.Commands.commandVersion:(Ljava/lang/String;Lcom/sun/jdi/VirtualMachineManager;)V
227: goto 245
StackMap locals:
StackMap stack:
228: aload 2
ldc "quit"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 229
aload 2
ldc "exit"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 233
229: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.tty.TTY.handler:Lcom/sun/tools/example/debug/tty/EventHandler;
ifnull 231
230: aload 0
getfield com.sun.tools.example.debug.tty.TTY.handler:Lcom/sun/tools/example/debug/tty/EventHandler;
invokevirtual com.sun.tools.example.debug.tty.EventHandler.shutdown:()V
231: StackMap locals:
StackMap stack:
invokestatic com.sun.tools.example.debug.tty.Env.shutdown:()V
232: goto 245
233: StackMap locals:
StackMap stack:
ldc "Unrecognized command. Try help..."
aload 2
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
234: goto 245
StackMap locals:
StackMap stack: com.sun.jdi.VMCannotBeModifiedException
235: pop
236: ldc "Command is not supported on a read-only VM connection"
aload 2
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
goto 245
237: StackMap locals:
StackMap stack: java.lang.UnsupportedOperationException
pop
238: ldc "Command is not supported on the target VM"
aload 2
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
goto 245
239: StackMap locals:
StackMap stack: com.sun.tools.example.debug.tty.VMNotConnectedException
pop
240: ldc "Command not valid until the VM is started with the run command"
241: aload 2
242: invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
goto 245
243: StackMap locals:
StackMap stack: java.lang.Exception
astore 6
start local 6 244: ldc "Internal exception:"
aload 6
invokestatic com.sun.tools.example.debug.tty.MessageOutput.printException:(Ljava/lang/String;Ljava/lang/Exception;)V
end local 6 end local 5 end local 4 245: StackMap locals:
StackMap stack:
iload 3
ifeq 247
246: invokestatic com.sun.tools.example.debug.tty.MessageOutput.printPrompt:()V
247: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 248 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 248 1 t Ljava/util/StringTokenizer;
1 248 2 cmd Ljava/lang/String;
2 248 3 showPrompt Z
5 10 4 repeat I
6 10 5 subcom Ljava/lang/String;
15 245 4 commandNumber I
30 245 5 evaluator Lcom/sun/tools/example/debug/tty/Commands;
244 245 6 e Ljava/lang/Exception;
Exception table:
from to target type
4 10 11 Class java.lang.NumberFormatException
30 234 235 Class com.sun.jdi.VMCannotBeModifiedException
30 234 237 Class java.lang.UnsupportedOperationException
30 234 239 Class com.sun.tools.example.debug.tty.VMNotConnectedException
30 234 243 Class java.lang.Exception
MethodParameters:
Name Flags
t
void monitorCommand(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 4
1: aload 0
dup
getfield com.sun.tools.example.debug.tty.TTY.monitorCount:I
iconst_1
iadd
putfield com.sun.tools.example.debug.tty.TTY.monitorCount:I
2: aload 0
getfield com.sun.tools.example.debug.tty.TTY.monitorCommands:Ljava/util/List;
new java.lang.StringBuilder
dup
aload 0
getfield com.sun.tools.example.debug.tty.TTY.monitorCount:I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
ldc ""
invokevirtual java.util.StringTokenizer.nextToken:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: goto 8
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.tty.TTY.monitorCommands:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: com.sun.tools.example.debug.tty.TTY java.util.StringTokenizer top java.util.Iterator
StackMap stack:
5: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 6: aload 2
invokestatic com.sun.tools.example.debug.tty.MessageOutput.printDirectln:(Ljava/lang/String;)V
end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: StackMap locals: com.sun.tools.example.debug.tty.TTY java.util.StringTokenizer
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 9 1 t Ljava/util/StringTokenizer;
6 7 2 cmd Ljava/lang/String;
MethodParameters:
Name Flags
t
void unmonitorCommand(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0000)
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 18
1: aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 2
start local 2 2: aload 2
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
pop
3: goto 7
StackMap locals: com.sun.tools.example.debug.tty.TTY java.util.StringTokenizer java.lang.String
StackMap stack: java.lang.NumberFormatException
4: pop
5: ldc "Not a monitor number:"
aload 2
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
6: return
7: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 8: aload 0
getfield com.sun.tools.example.debug.tty.TTY.monitorCommands:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 15
StackMap locals: com.sun.tools.example.debug.tty.TTY java.util.StringTokenizer java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
9: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 10: new java.util.StringTokenizer
dup
aload 4
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 6
start local 6 11: aload 6
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
12: aload 0
getfield com.sun.tools.example.debug.tty.TTY.monitorCommands:Ljava/util/List;
aload 4
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
13: ldc "Unmonitoring"
aload 4
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
14: return
end local 6 end local 4 15: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
16: ldc "No monitor numbered:"
aload 2
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
end local 3 end local 2 17: goto 19
18: StackMap locals: com.sun.tools.example.debug.tty.TTY java.util.StringTokenizer
StackMap stack:
ldc "Usage: unmonitor <monitor#>"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;)V
19: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 20 1 t Ljava/util/StringTokenizer;
2 17 2 monTok Ljava/lang/String;
8 17 3 monStr Ljava/lang/String;
10 15 4 cmd Ljava/lang/String;
11 15 6 ct Ljava/util/StringTokenizer;
Exception table:
from to target type
2 3 4 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
t
void readCommand(java.util.StringTokenizer);
descriptor: (Ljava/util/StringTokenizer;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 5
1: aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 2
start local 2 2: aload 0
new java.io.File
dup
aload 2
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual com.sun.tools.example.debug.tty.TTY.readCommandFile:(Ljava/io/File;)Z
ifne 6
3: ldc "Could not open:"
aload 2
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
end local 2 4: goto 6
5: StackMap locals:
StackMap stack:
ldc "Usage: read <command-filename>"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 7 1 t Ljava/util/StringTokenizer;
2 4 2 cmdfname Ljava/lang/String;
MethodParameters:
Name Flags
t
boolean readCommandFile(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x0000)
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokevirtual java.io.File.canRead:()Z
ifeq 22
2: ldc "*** Reading commands from"
aload 1
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
3: new java.io.BufferedReader
dup
new java.io.FileReader
dup
aload 1
invokespecial java.io.FileReader.<init>:(Ljava/io/File;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 2
4: goto 8
start local 3 5: StackMap locals: java.io.BufferedReader java.lang.String
StackMap stack:
new java.util.StringTokenizer
dup
aload 3
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 4
start local 4 6: aload 4
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 8
7: aload 0
aload 4
invokevirtual com.sun.tools.example.debug.tty.TTY.executeCommand:(Ljava/util/StringTokenizer;)V
end local 4 end local 3 8: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
dup
astore 3
start local 3 9: ifnonnull 5
end local 3 10: goto 22
StackMap locals:
StackMap stack: java.io.IOException
11: pop
12: aload 2
ifnull 26
13: aload 2
invokevirtual java.io.BufferedReader.close:()V
14: goto 26
StackMap locals:
StackMap stack: java.lang.Exception
15: pop
goto 26
16: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
17: aload 2
ifnull 21
18: aload 2
invokevirtual java.io.BufferedReader.close:()V
19: goto 21
StackMap locals: com.sun.tools.example.debug.tty.TTY java.io.File java.io.BufferedReader top top java.lang.Throwable
StackMap stack: java.lang.Exception
20: pop
21: StackMap locals:
StackMap stack:
aload 5
athrow
22: StackMap locals: com.sun.tools.example.debug.tty.TTY java.io.File java.io.BufferedReader
StackMap stack:
aload 2
ifnull 26
23: aload 2
invokevirtual java.io.BufferedReader.close:()V
24: goto 26
StackMap locals:
StackMap stack: java.lang.Exception
25: pop
26: StackMap locals:
StackMap stack:
aload 2
ifnull 27
iconst_1
ireturn
StackMap locals:
StackMap stack:
27: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 28 1 f Ljava/io/File;
1 28 2 inFile Ljava/io/BufferedReader;
5 8 3 ln Ljava/lang/String;
9 10 3 ln Ljava/lang/String;
6 8 4 t Ljava/util/StringTokenizer;
Exception table:
from to target type
1 10 11 Class java.io.IOException
13 14 15 Class java.lang.Exception
1 12 16 any
18 19 20 Class java.lang.Exception
23 24 25 Class java.lang.Exception
MethodParameters:
Name Flags
f
java.lang.String readStartupCommandFile(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.io.File
dup
aload 1
aload 2
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 4
start local 4 1: aload 4
invokevirtual java.io.File.exists:()Z
ifne 3
2: aconst_null
areturn
3: StackMap locals: java.io.File
StackMap stack:
aload 4
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
astore 5
start local 5 4: goto 8
end local 5 StackMap locals:
StackMap stack: java.io.IOException
5: pop
6: ldc "Could not open:"
aload 4
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
7: aconst_null
areturn
start local 5 8: StackMap locals: java.lang.String
StackMap stack:
aload 3
ifnull 9
aload 3
aload 5
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
9: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual com.sun.tools.example.debug.tty.TTY.readCommandFile:(Ljava/io/File;)Z
ifne 11
10: ldc "Could not open:"
aload 4
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/example/debug/tty/TTY;
0 12 1 dir Ljava/lang/String;
0 12 2 fname Ljava/lang/String;
0 12 3 canonPath Ljava/lang/String;
1 12 4 dotInitFile Ljava/io/File;
4 5 5 myCanonFile Ljava/lang/String;
8 12 5 myCanonFile Ljava/lang/String;
Exception table:
from to target type
3 4 5 Class java.io.IOException
MethodParameters:
Name Flags
dir
fname
canonPath
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.sun.tools.example.debug.tty.TTY.handler:Lcom/sun/tools/example/debug/tty/EventHandler;
2: aload 0
new java.util.concurrent.CopyOnWriteArrayList
dup
invokespecial java.util.concurrent.CopyOnWriteArrayList.<init>:()V
putfield com.sun.tools.example.debug.tty.TTY.monitorCommands:Ljava/util/List;
3: aload 0
iconst_0
putfield com.sun.tools.example.debug.tty.TTY.monitorCount:I
4: aload 0
iconst_0
putfield com.sun.tools.example.debug.tty.TTY.shuttingDown:Z
5: ldc "Initializing progname"
ldc "jdb"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
6: invokestatic com.sun.tools.example.debug.tty.Env.connection:()Lcom/sun/tools/example/debug/tty/VMConnection;
invokevirtual com.sun.tools.example.debug.tty.VMConnection.isOpen:()Z
ifeq 8
invokestatic com.sun.tools.example.debug.tty.Env.vm:()Lcom/sun/jdi/VirtualMachine;
invokeinterface com.sun.jdi.VirtualMachine.canBeModified:()Z
ifeq 8
7: aload 0
new com.sun.tools.example.debug.tty.EventHandler
dup
aload 0
iconst_1
invokespecial com.sun.tools.example.debug.tty.EventHandler.<init>:(Lcom/sun/tools/example/debug/tty/EventNotifier;Z)V
putfield com.sun.tools.example.debug.tty.TTY.handler:Lcom/sun/tools/example/debug/tty/EventHandler;
8: StackMap locals: com.sun.tools.example.debug.tty.TTY
StackMap stack:
new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
getstatic java.lang.System.in:Ljava/io/InputStream;
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
9: astore 1
start local 1 10: aconst_null
astore 2
start local 2 11: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
iconst_5
invokevirtual java.lang.Thread.setPriority:(I)V
12: ldc "user.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 13: aload 0
aload 3
ldc "jdb.ini"
aconst_null
invokevirtual com.sun.tools.example.debug.tty.TTY.readStartupCommandFile:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
dup
astore 4
start local 4 14: ifnonnull 16
15: aload 0
aload 3
ldc ".jdbrc"
aconst_null
invokevirtual com.sun.tools.example.debug.tty.TTY.readStartupCommandFile:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 4
16: StackMap locals: com.sun.tools.example.debug.tty.TTY java.io.BufferedReader java.lang.String java.lang.String java.lang.String
StackMap stack:
ldc "user.dir"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 17: aload 0
aload 5
ldc "jdb.ini"
aload 4
invokevirtual com.sun.tools.example.debug.tty.TTY.readStartupCommandFile:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
ifnonnull 19
18: aload 0
aload 5
ldc ".jdbrc"
aload 4
invokevirtual com.sun.tools.example.debug.tty.TTY.readStartupCommandFile:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
end local 5 end local 4 end local 3 19: StackMap locals:
StackMap stack:
invokestatic com.sun.tools.example.debug.tty.MessageOutput.printPrompt:()V
20: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 3
start local 3 21: aload 3
ifnonnull 25
22: aload 0
invokevirtual com.sun.tools.example.debug.tty.TTY.isShuttingDown:()Z
ifne 24
23: ldc "Input stream closed."
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;)V
24: StackMap locals: java.lang.String
StackMap stack:
ldc "quit"
astore 3
25: StackMap locals:
StackMap stack:
aload 3
ldc "!!"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 28
aload 2
ifnull 28
26: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
27: aload 3
invokestatic com.sun.tools.example.debug.tty.MessageOutput.printDirectln:(Ljava/lang/String;)V
28: StackMap locals:
StackMap stack:
new java.util.StringTokenizer
dup
aload 3
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 4
start local 4 29: aload 4
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 33
30: aload 3
astore 2
31: aload 0
aload 4
invokevirtual com.sun.tools.example.debug.tty.TTY.executeCommand:(Ljava/util/StringTokenizer;)V
32: goto 20
33: StackMap locals: java.util.StringTokenizer
StackMap stack:
invokestatic com.sun.tools.example.debug.tty.MessageOutput.printPrompt:()V
end local 4 end local 3 34: goto 20
end local 2 end local 1 35: StackMap locals: com.sun.tools.example.debug.tty.TTY
StackMap stack: com.sun.jdi.VMDisconnectedException
pop
36: aload 0
getfield com.sun.tools.example.debug.tty.TTY.handler:Lcom/sun/tools/example/debug/tty/EventHandler;
invokevirtual com.sun.tools.example.debug.tty.EventHandler.handleDisconnectedException:()V
37: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lcom/sun/tools/example/debug/tty/TTY;
10 35 1 in Ljava/io/BufferedReader;
11 35 2 lastLine Ljava/lang/String;
13 19 3 userHome Ljava/lang/String;
14 19 4 canonPath Ljava/lang/String;
17 19 5 userDir Ljava/lang/String;
21 34 3 ln Ljava/lang/String;
29 34 4 t Ljava/util/StringTokenizer;
Exception table:
from to target type
8 35 35 Class com.sun.jdi.VMDisconnectedException
Exceptions:
throws java.lang.Exception
private static void usage();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: ldc "zz usage text"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "jdb"
aastore
dup
iconst_1
1: getstatic java.io.File.pathSeparator:Ljava/lang/String;
aastore
2: invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;[Ljava/lang/Object;)V
3: iconst_0
invokestatic java.lang.System.exit:(I)V
4: return
LocalVariableTable:
Start End Slot Name Signature
static void usageError(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;)V
1: invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:()V
2: invokestatic com.sun.tools.example.debug.tty.TTY.usage:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 messageKey Ljava/lang/String;
MethodParameters:
Name Flags
messageKey
static void usageError(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;Ljava/lang/String;)V
1: invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:()V
2: invokestatic com.sun.tools.example.debug.tty.TTY.usage:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 messageKey Ljava/lang/String;
0 4 1 argument Ljava/lang/String;
MethodParameters:
Name Flags
messageKey
argument
private static boolean supportsSharedMemory();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: invokestatic com.sun.jdi.Bootstrap.virtualMachineManager:()Lcom/sun/jdi/VirtualMachineManager;
invokeinterface com.sun.jdi.VirtualMachineManager.allConnectors:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 1
goto 6
StackMap locals: top java.util.Iterator
StackMap stack:
1: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.jdi.connect.Connector
astore 0
start local 0 2: aload 0
invokeinterface com.sun.jdi.connect.Connector.transport:()Lcom/sun/jdi/connect/Transport;
ifnonnull 4
3: goto 6
4: StackMap locals: com.sun.jdi.connect.Connector java.util.Iterator
StackMap stack:
ldc "dt_shmem"
aload 0
invokeinterface com.sun.jdi.connect.Connector.transport:()Lcom/sun/jdi/connect/Transport;
invokeinterface com.sun.jdi.connect.Transport.name:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_1
ireturn
end local 0 6: StackMap locals: top java.util.Iterator
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
2 6 0 connector Lcom/sun/jdi/connect/Connector;
private static java.lang.String addressToSocketArgs(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpeq 5
2: aload 0
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
start local 2 3: aload 0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
start local 3 4: new java.lang.StringBuilder
dup
ldc "hostname="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ",port="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 5: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
ldc "port="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 address Ljava/lang/String;
1 6 1 index I
3 5 2 hostString Ljava/lang/String;
4 5 3 portString Ljava/lang/String;
MethodParameters:
Name Flags
address
private static boolean hasWhitespace(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 6
3: StackMap locals: int int
StackMap stack:
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isWhitespace:(C)Z
ifeq 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
iload 1
if_icmplt 3
end local 2 7: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 string Ljava/lang/String;
1 8 1 length I
2 7 2 i I
MethodParameters:
Name Flags
string
private static java.lang.String addArgument(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.sun.tools.example.debug.tty.TTY.hasWhitespace:(Ljava/lang/String;)Z
ifne 1
aload 1
bipush 44
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpeq 13
1: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 2
start local 2 2: aload 2
bipush 34
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: iconst_0
istore 3
start local 3 4: goto 10
5: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 6: iload 4
bipush 34
if_icmpne 8
7: aload 2
bipush 92
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
8: StackMap locals: int
StackMap stack:
aload 2
iload 4
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 4 9: iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 5
end local 3 11: aload 2
ldc "\" "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 13: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 string Ljava/lang/String;
0 14 1 argument Ljava/lang/String;
2 13 2 sb Ljava/lang/StringBuilder;
4 11 3 i I
6 9 4 c C
MethodParameters:
Name Flags
string
argument
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=10, args_size=1
start local 0 0: ldc ""
astore 1
start local 1 1: ldc ""
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: aconst_null
astore 5
start local 5 5: ldc "com.sun.tools.example.debug.tty.TTYResources"
6: invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
7: invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
putstatic com.sun.tools.example.debug.tty.MessageOutput.textResources:Ljava/util/ResourceBundle;
8: iconst_0
istore 6
start local 6 9: goto 136
10: StackMap locals: java.lang.String[] java.lang.String java.lang.String int int java.lang.String int
StackMap stack:
aload 0
iload 6
aaload
astore 7
start local 7 11: aload 7
ldc "-dbgtrace"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 25
12: iload 6
aload 0
arraylength
iconst_1
isub
if_icmpeq 14
13: aload 0
iload 6
iconst_1
iadd
aaload
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isDigit:(C)Z
ifne 16
14: StackMap locals: java.lang.String
StackMap stack:
ldc 16777215
istore 3
15: goto 135
16: StackMap locals:
StackMap stack:
ldc ""
astore 8
start local 8 17: aload 0
iinc 6 1
iload 6
aaload
astore 8
18: aload 8
invokestatic java.lang.Integer.decode:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
istore 3
19: goto 135
StackMap locals: java.lang.String[] java.lang.String java.lang.String int int java.lang.String int java.lang.String java.lang.String
StackMap stack: java.lang.NumberFormatException
20: pop
21: ldc "dbgtrace flag value must be an integer:"
22: aload 8
23: invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;Ljava/lang/String;)V
24: return
end local 8 25: StackMap locals:
StackMap stack:
aload 7
ldc "-X"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 28
26: ldc "Use java minus X to see"
invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;)V
27: return
28: StackMap locals:
StackMap stack:
aload 7
ldc "-v"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 38
aload 7
ldc "-v:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 38
29: aload 7
ldc "-verbose"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 38
30: aload 7
ldc "-D"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 38
31: aload 7
ldc "-X"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 38
32: aload 7
ldc "-noasyncgc"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 38
aload 7
ldc "-prof"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 38
33: aload 7
ldc "-verify"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 38
34: aload 7
ldc "-verifyremote"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 38
35: aload 7
ldc "-verbosegc"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 38
36: aload 7
ldc "-ms"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 38
aload 7
ldc "-mx"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 38
37: aload 7
ldc "-ss"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 38
aload 7
ldc "-oss"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 40
38: StackMap locals:
StackMap stack:
aload 2
aload 7
invokestatic com.sun.tools.example.debug.tty.TTY.addArgument:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
39: goto 135
StackMap locals:
StackMap stack:
40: aload 7
ldc "-tclassic"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 43
41: ldc "Classic VM no longer supported."
invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;)V
42: return
43: StackMap locals:
StackMap stack:
aload 7
ldc "-tclient"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 46
44: new java.lang.StringBuilder
dup
ldc "-client "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
45: goto 135
StackMap locals:
StackMap stack:
46: aload 7
ldc "-tserver"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 49
47: new java.lang.StringBuilder
dup
ldc "-server "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
48: goto 135
StackMap locals:
StackMap stack:
49: aload 7
ldc "-sourcepath"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 55
50: iload 6
aload 0
arraylength
iconst_1
isub
if_icmpne 53
51: ldc "No sourcepath specified."
invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;)V
52: return
53: StackMap locals:
StackMap stack:
aload 0
iinc 6 1
iload 6
aaload
invokestatic com.sun.tools.example.debug.tty.Env.setSourcePath:(Ljava/lang/String;)V
54: goto 135
StackMap locals:
StackMap stack:
55: aload 7
ldc "-classpath"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 62
56: iload 6
aload 0
arraylength
iconst_1
isub
if_icmpne 59
57: ldc "No classpath specified."
invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;)V
58: return
59: StackMap locals:
StackMap stack:
aload 2
aload 7
invokestatic com.sun.tools.example.debug.tty.TTY.addArgument:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
60: aload 2
aload 0
iinc 6 1
iload 6
aaload
invokestatic com.sun.tools.example.debug.tty.TTY.addArgument:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
61: goto 135
StackMap locals:
StackMap stack:
62: aload 7
ldc "-attach"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 78
63: aload 5
ifnull 66
64: ldc "cannot redefine existing connection"
aload 7
invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;Ljava/lang/String;)V
65: return
66: StackMap locals:
StackMap stack:
iload 6
aload 0
arraylength
iconst_1
isub
if_icmpne 69
67: ldc "No attach address specified."
invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;)V
68: return
69: StackMap locals:
StackMap stack:
aload 0
iinc 6 1
iload 6
aaload
astore 8
start local 8 70: invokestatic com.sun.tools.example.debug.tty.TTY.supportsSharedMemory:()Z
ifeq 75
71: new java.lang.StringBuilder
dup
ldc "com.sun.jdi.SharedMemoryAttach:name="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
72: aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
73: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
74: goto 135
75: StackMap locals: java.lang.String
StackMap stack:
aload 8
invokestatic com.sun.tools.example.debug.tty.TTY.addressToSocketArgs:(Ljava/lang/String;)Ljava/lang/String;
astore 9
start local 9 76: new java.lang.StringBuilder
dup
ldc "com.sun.jdi.SocketAttach:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
end local 9 end local 8 77: goto 135
StackMap locals:
StackMap stack:
78: aload 7
ldc "-listen"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 79
aload 7
ldc "-listenany"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 97
79: StackMap locals:
StackMap stack:
aload 5
ifnull 82
80: ldc "cannot redefine existing connection"
aload 7
invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;Ljava/lang/String;)V
81: return
82: StackMap locals:
StackMap stack:
aconst_null
astore 8
start local 8 83: aload 7
ldc "-listen"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 88
84: iload 6
aload 0
arraylength
iconst_1
isub
if_icmpne 87
85: ldc "No attach address specified."
invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;)V
86: return
87: StackMap locals: java.lang.String
StackMap stack:
aload 0
iinc 6 1
iload 6
aaload
astore 8
88: StackMap locals:
StackMap stack:
invokestatic com.sun.tools.example.debug.tty.TTY.supportsSharedMemory:()Z
ifeq 93
89: ldc "com.sun.jdi.SharedMemoryListen:"
astore 5
90: aload 8
ifnull 135
91: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "name="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
92: goto 135
93: StackMap locals:
StackMap stack:
ldc "com.sun.jdi.SocketListen:"
astore 5
94: aload 8
ifnull 135
95: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokestatic com.sun.tools.example.debug.tty.TTY.addressToSocketArgs:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
end local 8 96: goto 135
StackMap locals:
StackMap stack:
97: aload 7
ldc "-launch"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 100
98: iconst_1
istore 4
99: goto 135
StackMap locals:
StackMap stack:
100: aload 7
ldc "-listconnectors"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 104
101: new com.sun.tools.example.debug.tty.Commands
dup
invokespecial com.sun.tools.example.debug.tty.Commands.<init>:()V
astore 8
start local 8 102: aload 8
invokestatic com.sun.jdi.Bootstrap.virtualMachineManager:()Lcom/sun/jdi/VirtualMachineManager;
invokevirtual com.sun.tools.example.debug.tty.Commands.commandConnectors:(Lcom/sun/jdi/VirtualMachineManager;)V
103: return
end local 8 104: StackMap locals:
StackMap stack:
aload 7
ldc "-connect"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 113
105: aload 5
ifnull 108
106: ldc "cannot redefine existing connection"
aload 7
invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;Ljava/lang/String;)V
107: return
108: StackMap locals:
StackMap stack:
iload 6
aload 0
arraylength
iconst_1
isub
if_icmpne 111
109: ldc "No connect specification."
invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;)V
110: return
111: StackMap locals:
StackMap stack:
aload 0
iinc 6 1
iload 6
aaload
astore 5
112: goto 135
StackMap locals:
StackMap stack:
113: aload 7
ldc "-?"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 117
114: aload 7
ldc "-h"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 117
115: aload 7
ldc "--help"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 117
116: aload 7
ldc "-help"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 119
117: StackMap locals:
StackMap stack:
invokestatic com.sun.tools.example.debug.tty.TTY.usage:()V
118: goto 135
StackMap locals:
StackMap stack:
119: aload 7
ldc "-version"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 126
120: new com.sun.tools.example.debug.tty.Commands
dup
invokespecial com.sun.tools.example.debug.tty.Commands.<init>:()V
astore 8
start local 8 121: aload 8
ldc "jdb"
122: invokestatic com.sun.jdi.Bootstrap.virtualMachineManager:()Lcom/sun/jdi/VirtualMachineManager;
123: invokevirtual com.sun.tools.example.debug.tty.Commands.commandVersion:(Ljava/lang/String;Lcom/sun/jdi/VirtualMachineManager;)V
124: iconst_0
invokestatic java.lang.System.exit:(I)V
end local 8 125: goto 135
StackMap locals:
StackMap stack:
126: aload 7
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 129
127: ldc "invalid option"
aload 7
invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;Ljava/lang/String;)V
128: return
129: StackMap locals:
StackMap stack:
ldc ""
aload 7
invokestatic com.sun.tools.example.debug.tty.TTY.addArgument:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 1
130: iinc 6 1
goto 133
131: StackMap locals:
StackMap stack:
aload 1
aload 0
iload 6
aaload
invokestatic com.sun.tools.example.debug.tty.TTY.addArgument:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 1
132: iinc 6 1
StackMap locals:
StackMap stack:
133: iload 6
aload 0
arraylength
if_icmplt 131
134: goto 137
end local 7 135: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
136: iload 6
aload 0
arraylength
if_icmplt 10
end local 6 137: StackMap locals:
StackMap stack:
aload 5
ifnonnull 140
138: ldc "com.sun.jdi.CommandLineLaunch:"
astore 5
139: goto 142
StackMap locals:
StackMap stack:
140: aload 5
ldc ","
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 142
aload 5
ldc ":"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 142
141: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
142: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
143: aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 2
144: aload 1
invokevirtual java.lang.String.length:()I
ifle 151
145: aload 5
ldc "com.sun.jdi.CommandLineLaunch:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 150
146: ldc "Cannot specify command line with connector:"
147: aload 5
148: invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;Ljava/lang/String;)V
149: return
150: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "main="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
151: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.String.length:()I
ifle 157
152: aload 5
ldc "com.sun.jdi.CommandLineLaunch:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 157
153: ldc "Cannot specify target vm arguments with connector:"
154: aload 5
155: invokestatic com.sun.tools.example.debug.tty.TTY.usageError:(Ljava/lang/String;Ljava/lang/String;)V
156: return
157: StackMap locals:
StackMap stack:
aload 5
iload 4
iload 3
aload 2
invokestatic com.sun.tools.example.debug.tty.Env.init:(Ljava/lang/String;ZILjava/lang/String;)V
158: new com.sun.tools.example.debug.tty.TTY
invokespecial com.sun.tools.example.debug.tty.TTY.<init>:()V
159: goto 162
StackMap locals:
StackMap stack: java.lang.Exception
160: astore 6
start local 6 161: ldc "Internal exception:"
aload 6
invokestatic com.sun.tools.example.debug.tty.MessageOutput.printException:(Ljava/lang/String;Ljava/lang/Exception;)V
end local 6 162: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 163 0 argv [Ljava/lang/String;
1 163 1 cmdLine Ljava/lang/String;
2 163 2 javaArgs Ljava/lang/String;
3 163 3 traceFlags I
4 163 4 launchImmediately Z
5 163 5 connectSpec Ljava/lang/String;
9 137 6 i I
11 135 7 token Ljava/lang/String;
17 25 8 flagStr Ljava/lang/String;
70 77 8 address Ljava/lang/String;
76 77 9 suboptions Ljava/lang/String;
83 96 8 address Ljava/lang/String;
102 104 8 evaluator Lcom/sun/tools/example/debug/tty/Commands;
121 125 8 evaluator Lcom/sun/tools/example/debug/tty/Commands;
161 162 6 e Ljava/lang/Exception;
Exception table:
from to target type
17 19 20 Class java.lang.NumberFormatException
157 159 160 Class java.lang.Exception
Exceptions:
throws java.util.MissingResourceException
MethodParameters:
Name Flags
argv
}
SourceFile: "TTY.java"